Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Can’t get Css Menu effect on hover Re: Can’t get Css Menu effect on hover

#119339
salvatore
Participant

nav ul{
margin: 0;
padding: 0;
list-style-type: none;
}

nav ul li{
display: block;
float: left;
padding: 0 6px;
}

nav ul li a{
text-decoration: none;
font-size: 16px;
padding: 1px 6px 3px 6px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
color: #fff;
font-family: nilland-black, arial;
display: block;
}

nav ul li a:hover{
background-color: #55a1ba;
opacity: 0.9;
}