由于CSS优先级的关系(后面比前面的优先级高),在写a的CSS时,一定要按照
a:link{
}
a:visited{
a:hover{
a:actived{
的顺序书写。
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3