Remove bullets from <ul>?
This question already has an answer here:
#menu ul is trying to target a ul that is a descendant of #menu . This is incorrect, since in your case they are the same element. ul#menu would be correct.
You are targeting a non-existing element (a <ul> that is a child of an element with id="menu" . The element you want to target is an <li> that is a child of an element with id="menu" like this:
#menu li{
list-style:none; //you can remove !important
}
Another option is to create a menu class no-bullet .
<ul id="menu" class="no-bullet" ng-show="showMenu"> and use the same CSS as above, except replace #menu li with .no-bullet .
下一篇: 从<ul>中移除子弹?
