home > news CSS Pseudo-Properties Let You Style More than Just the HTML You See
CSS Pseudo-Properties Let You Style More than Just the HTML You See
When I first learned about pseudo-properties in CSS I was confused as I had a hard time grasping how you could style something that wasn't in the HTML. But then I started styling my visited and active links using
:visited and
:active and I realized that those states are not part of the HTML, but they are part of the Web page construct. Then I decided to learn how to do a
drop cap on my paragraphs using CSS and I realized that the first-letter is also a construct on the Web page, even though it's not defined by HTML. And after that I understood pseudo-classes and pseudo-elements.
Beginning CSS
CSS Pseudo-Properties Let You Style More than Just the HTML You See originally appeared on About.com Web Design / HTML on Thursday, June 17th, 2010 at 20:34:00.
Permalink | Comment | Email this