pesudo-class of element

a: link {

color: green;        applied to links when they are in an unvisited state

{

a: visited {

color: red;       applied to links when they are visited

}

a: hover {

color: yellow      applied to links when you hover over a link

}


make sure there's no space in these selectors

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章