Jean-Charles Le Tousey

Diving into the ::before and ::after Pseudo-Elements


#css, #accessibility, #animation

This article is a gold mine about what we can do with ::before and ::after pseudo elements. We can use them to be decorative, to display quotes, to display HTML element's attributes, to play with images, to replace content, to control layout and even more.