1
I want to change the writing color of menu items. The way I did the color changes when I pass the arrow over the letter, but I wanted q the letter color of the menu to change soon when I hover the mouse over the background-color.
/* Formataçao do menu */
nav#menu {
display: block;
}
nav#menu h1 {
display: none;
}
nav#menu ul {
list-style: none;
text-transform: uppercase;
position: absolute;
top: -20;
left: 300px;
}
nav#menu li {
display: inline-block;
background: #dddddd;
padding: 10px;
margin: 2px;
transition: background-color 1s;
}
nav#menu li:hover {
background-color: #606060;
}
nav#menu a {
color: black;
text-decoration: none;
}
nav#menu a:hover {
color: white;
text-decoration: underline;
}
<nav id="menu">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="specs.html">Especificações</a></li>
<li><a href="fotos.html">Fotos</a></li>
<li><a href="multimidia.html">Multimídia</a></li>
<li><a href="fale-conosco.html">Fale conosco</a></li>
</ul>
</nav>
top, right, bottom and left by default get which numbering?
– J Werneck
They get
auto
.– Sam