Skip to content

Instantly share code, notes, and snippets.

@sauerlock
Created May 25, 2022 17:38
Show Gist options
  • Save sauerlock/e82319ed40fd2bedb18ec283e68dffb4 to your computer and use it in GitHub Desktop.
Save sauerlock/e82319ed40fd2bedb18ec283e68dffb4 to your computer and use it in GitHub Desktop.
Treinando display
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Sobre</a></li>
<li><a href="#">Serviços</a></li>
<li><a href="#">Portfólio</a></li>
<li><a href="#">Visitar página</a></li>
<li><a href="#">Contato</a></li>
</ul>
</nav>
nav{
}
ul{
padding: 10px;
}
li{
list-style: none;
}
a{
text-decoration: none;
color: #fff;
background-color: #308ebd;
padding: 10px 20px;
margin-bottom: 10px;
font-family: sans-serif;
display: inline-block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment