The buttons on my navbar
do not float right. I already tried to apply float: right
in the menu and also in the items but it does not help.
.container{
width: 100%;
height: 100%;
overflow-x: hidden;
}
body{
font-family: Verdana, Geneva, Tahoma, sans-serif;
background-image: url("imagens/cubos2.jpg");
background-size: auto;
}
/*Formatações de itens do body*/
.nav-menu{
width: 100%;
padding: 20px;
}
.nav-itens{
padding: 30px;
font-size: large;
font-weight: bold;
text-decoration: none;
}
.footer-menu{
padding: 20px;
position: absolute;
bottom: 0;
}
.footer-itens{
padding: 20px;
text-decoration: none;
}
<body class="container">
<nav class="nav-menu">
<a href="" class="nav-itens">Home</a>
<a href="" class="nav-itens">Quem sou eu</a>
<a href="" class="nav-itens">Como posso te ajudar</a>
<a href="" class="nav-itens">Fale comigo</a>
</nav>
<div>
<footer class="footer-menu">
<a href="https://github.com/MatCunha" class="footer-itens">GitHub</a>
<a href="https://www.behance.net/araujomathdb03" class="footer-itens">Behance</a>
<a href="" class="footer-itens">LinkedIn</a>
</footer>
</div>
<script src="script.js"></script>
</body>