Remove ALL styling/formatting from hyperlinks

后端 未结 4 1916
有刺的猬
有刺的猬 2020-12-22 18:26

I\'m creating a navigation menu with words with different colors (href links). I would like the color NOT to change on any state (hover, visited etc).

I

4条回答
  •  自闭症患者
    2020-12-22 19:11

    if you state a.redLink{color:red;} then to keep this on hover and such add a.redLink:hover{color:red;} This will make sure no other hover states will change the color of your links

提交回复
热议问题