1. Home
  2. Computing & Technology
  3. Web Design / HTML

CSS Pseudo Properties

Pseudo classes and elements used in CSS to match on more specific portions of your Web page.
:active
The :active pseudo-class matches active links as they're clicked on.
:after
The :after pseudo-element allows you to insert generated content after the element defined.
:before
The :before pseudo-element allows you to insert generated content before the element defined.
:first-child
The :first-child pseudo-class matches the element that is the first child of another element.
:first-letter
The :first-letter pseudo-element allows you to define styles for the first letter of an element.
:first-line
The :first-line pseudo-element allows you to define styles for the first line of an element.
:focus
The :focus pseudo-class matches elements while they have focus.
:hover
The :hover pseudo-class matches elements as you mouse over them.
:lang
The :lang pseudo-class matches on the language defined in the document.
:link
The :link pseudo-class matches unvisited links.
:visited
The :visited pseudo-class matches visited links.

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. CSS
  5. CSS Pseudo Properties

©2008 About.com, a part of The New York Times Company.

All rights reserved.