通過把<a>浮動(dòng)使得<a>標(biāo)簽block化,精簡(jiǎn)了代碼。
li{ ????list-style-type:none; } a{ ????float:left; ????text-align:center; ????width:50px; ????height:30px; ????line-height:30px; ????color:black; ????text-decoration:none; } a:visited{ ????color:black; } a:hover,?a:active{ ????background-color:#BE3948; ????color:white; }
2015-12-29
擦vvavafffgg?
2015-12-29
擦vvavafffgg?