UI Deploy

Curated, Short, Web UI Dev we Love.

Pseudo-Classes, Pseudo-Elements, and Colon Notation

In my post about 5 lesser used CSS selectors, I used a single colon when referring to the first-letter and first-line pseudo-elements. It was pointed out to me that I should have used the double colon notation for selectors because they were pseudo-elements.

view source

Advertisement