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

后端 未结 12 2144
时光说笑
时光说笑 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:31

    you can do some thing like this:

    a {
        color: #0060B6;
        text-decoration: none;
    }
    
    a:hover 
    {
         color:#00A0C6; 
         text-decoration:none; 
         cursor:pointer;  
    }
    

    if text-decoration doesn't work then include text-decoration: none !important;

提交回复
热议问题