All CSS Pseudo Classes/Elements
Selector
|
Example
|
Example description
|
a:link
|
Selects all unvisited links
| |
a:visited
|
Selects all visited links
| |
a:active
|
Selects the active link
| |
a:hover
|
Selects links on mouse over
| |
input:focus
|
Selects the input element which has focus
| |
p:first-letter
|
Selects the first letter of every <p> element
| |
p:first-line
|
Selects the first line of every <p> element
| |
p:first-child
|
Selects every <p> elements that is the first child of its parent
| |
p:before
|
Insert content before every <p> element
| |
p:after
|
Insert content after every <p> element
|
Please visit http://enginegearclutch.blogspot.in/ ,here u can find all about CSS and mechanical things
ReplyDelete