How to disable automatic links coloring without selecting a color?

后端 未结 4 587
梦谈多话
梦谈多话 2021-02-02 06:26

this is really confusing, i don\'t want the browser to change the color of links, so the links color will stay same as specified in . i know that i can

4条回答
  •  时光说笑
    2021-02-02 06:56

    If you don't want any coloration just do something like this:

    a, a:hover, a:visited, a:active {
      color: inherit;
      text-decoration: none;
     }
    

提交回复
热议问题