How to remove the default link color of the html hyperlink 'a' tag?

后端 未结 12 2135
时光说笑
时光说笑 2020-12-07 08:56

The default link color is blue. How to remove the default link color of the html hyperlink tag ?

12条回答
  •  轮回少年
    2020-12-07 09:24

    This will work

        a:hover, a:focus, a:active {
            outline: none;
        }
    

    What this does is removes the outline for all the three pseudo-classes.

提交回复
热议问题