Tag Archives: CSS Pseudo-classes

CSS Pseudo-classes

CSS Pseudo-classes CSS pseudo-classes are used to add special effects to some selectors. Syntax The syntax of pseudo-classes: selector:pseudo-class {property:value;} CSS classes can also be used with pseudo-classes: selector.class:pseudo-class {property:value;} Anchor Pseudo-classes Links can be displayed in different ways in a CSS-supporting browser: a:link {color:#FF0000;} /* unvisited link */ a:visited {color:#00FF00;} /* visited link */ […]