Monday, March 29th, 2021
Thursday, February 25th, 2021
A thorough deep dive into generated content in CSS.
Wednesday, March 9th, 2016
This is really, really clever. You can’t use generated content (
:after) on replaced content. The
img element is replaced content …but only when the image actually loads. So if the image fails to load, you can apply specific fallback styles (using