為什么鏈接狀態(tài)中,初始狀態(tài)要和visited寫在一起?hover要和active寫在一起?
.top-content a:link,.top-content a:visited{}
.top-content a:hover,.top-content a:active{}
.top-content a:link,.top-content a:visited{}
.top-content a:hover,.top-content a:active{}
2015-12-01
舉報
2015-12-01
第一個表示點過的鏈接樣式和默認(rèn)的一樣,
第二個表示鼠標(biāo)在鏈接上的樣式和當(dāng)前活動鏈接樣式一樣
一般都這么寫的。