Posicionamento do menu
Posicionamento do menu
by Angelo Rogério Rubin
HTML
<script src="http://fonts.googleapis.com/css?family=Lato'"></script>
<div id="top">
<div class="menu">
<div class="menu-item">
<a href="#">Portfólio</a>
<a href="#">Serviços</a>
</div>
<div>
<img src="http://s26.postimg.org/tmij0ddw5/logo.png" alt="logo">
</div>
<div class="menu-item">
<a href="#">Clientes</a>
<a href="#">Sobre</a>
</div>
</div>
</div>
CSS
body {
height: 100%;
margin: 0;
padding: 0;
}
html {
background:url(http://www.agenciar16.com.br/img/banner.jpg)no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
#top {
width: 100%;
height: 70px;
background-image: url('http://www.agenciar16.com.br/img/topo.png');
position: fixed;
}
.menu {
display: flex;
flex-flow: row;
justify-content: center;
}
.menu-item {
color: white;
margin-top: 20px;
}
.menu-item a {
color:white;
padding: 5px;
text-decoration: none;
font-family: 'Lato', sans-serif;
font-size: 10px;
color: black;
}