You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to DuckDuckGo Search Results,
the only 2 Ways to style Placeholders for broken Images with CSS are:
Using JavaScript to tag broken Images with an Error CSS Class
Or abusing the ::before and ::after pseudo-Elements
because broken Image Placeholders display them and Images don’t
I would very much like Web Browsers to support an official, clean Solution for styling broken Image Placeholders —
so that i can easily make my Layouts legible if the Images dont load,
without having that Feature make my Website harder to maintain.
Links can be styled in all their different States:
a
a:visited
a:active
a:hover
I believe it is good for Images to have the same CSS Syntax for their different States:
img
img:broken or img:missing or img:invalid,
whichever matches the official Name of broken Images
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
According to DuckDuckGo Search Results,
the only 2 Ways to style Placeholders for broken Images with CSS are:
::beforeand::afterpseudo-Elementsbecause broken Image Placeholders display them and Images don’t
I would very much like Web Browsers to support an official, clean Solution for styling broken Image Placeholders —
so that i can easily make my Layouts legible if the Images dont load,
without having that Feature make my Website harder to maintain.
Links can be styled in all their different States:
aa:visiteda:activea:hoverI believe it is good for Images to have the same CSS Syntax for their different States:
imgimg:brokenorimg:missingorimg:invalid,whichever matches the official Name of broken Images
All reactions