0
Hello guys I have a navigation menu on my page that is at first transparent. How do I go through Jquery as soon as I scroll down (scroll) apply a background color to the navigation menu .
This is the html code snippet
<div id="nav" class="navegacao">
<div class="banner">
<h1>Site</h1>
<small>Desenvolvedor de Sites</small>
</div>
<nav>
<ul>
<li>
<a href="/">Home</a>
</li>
<li>
<a href="">Sobre</a>
</li>
<li>
<a href="">Serviços</a>
</li>
<li>
<a href="">Contatos</a>
</li>
</ul>
</nav>
</div>