I've made a menu in my Website and I've been trying to remove those blue lines (which usually appear by default) from there. I've tried adding text-decoration:none; in all the options relevant to it but, that doesn't seem to be working. What should I do?
.menu {
list-style: none;
font-family: sans-serif;
position: absolute;
top: 10px;
right: 30px;
z-index: 15;
cursor: pointer;
align-self: center;
text-decoration: none;
color: darkblue;
}
.links {
float: left;
padding-top: 5px;
padding-bottom: 5px;
padding-right: 10px;
padding-left: 10px;
font-family: monospace;
font-size: 20px;
font-weight: bold;
text-decoration: none;
text-align: center;
}
V.links:hover {
background-color: hotpink;
text-decoration: none;
}
<section id=first>
<center>
<ul class="menu">
<li class="links"> <a href="#first"> Introduction </a> </li>
<li class="links"> <a href="#second"> About </a> </li>
<li class="links"> <a href="#third"> Defenition</a> </li>
<li class="links"> <a href="#fourth"> My Works </a> </li>
<li class="links"> <a href="#fifth"> Inspiration </a> </li>
<li class="links"> <a href="#sixth"> Contact </a> </li>
</ul>
</center>
</section>