I have an incredibly simple html structure like below:
<ul id="menu" ng-show="showMenu">
<li><a href="http://www.google.com" target="_blank">a</a></li>
<li><a href="http://www.msn.com" target="_blank">b</a></li>
</ul>
css:
*{
box-sizing:border-box;
margin:0;
padding:0;
}
body{
background:#f2f2f0;
padding:15px;
}
#menu ul{
list-style:none !important;
}
#menu li a{
color:inherit;
text-decoration:none;
}
The ul
still shows bullets even though I set list-style
to none. When I remove the #menu
, it works as desired. Why is this happening? #menu
is the id of the ul
, it should apply to the menu element. Am I doing something incorrectly?