為什么鏈接狀態(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
舉報(bào)
2015-12-01
第一個(gè)表示點(diǎn)過的鏈接樣式和默認(rèn)的一樣,
第二個(gè)表示鼠標(biāo)在鏈接上的樣式和當(dāng)前活動(dòng)鏈接樣式一樣
一般都這么寫的。