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 CSS supporting browsers
a:link {color:#FF0000;}
a:visited {color:#00FF00;}
a:hover {color:#FF00FF;}
a:active {color:#0000FF;}
Note: These must be in the above order. Pseudo-class names are not case-sensitive.
another great easy to follow post, nice one
ReplyDeleteWhat is a psuedo?
ReplyDeletePseudo class selectors CSS selectors with a colon preceding them, They're new to CSS3.
ReplyDeleteGod with all these tutorials for free, you're gonna MAKE me learn CSS right? hahaha great blog
ReplyDeleteYou make CSS very accessible, thanks.
ReplyDeleteYour tutorials are always so good. Thanks for doing this.
ReplyDeleteanother great CSS tutorial :) as always
ReplyDelete