html - Background div menu issue -
i want make menu colored background. use simple "background" or "background-color" on div containing of menu don't see color. know it's dumb i'm stuck..
here html :
<header class="menu-top"> <div class="menu"> <ul> <li><a>home</a></li> <li><a>portfolio</a></li> <li><a>contact</a></li> </ul> </div> </header>
here jsfiddle : https://jsfiddle.net/szf1xksv/
an alternative use:
.menu > ul > li { display: inline-block; }
this preserve height of list items.
Comments
Post a Comment