Crée un menu con position fixed
pero cuando le doy al scroll para bajar y ver mi página, el menu se baja con mi scroll y me deja un margen-top
¿cómo puedo resolverlo? Ayuda, aquí esta mi código
@media screen and (max-width:800px){ header nav {position: fixed;width: 70%; height: 100%;margin: 0;left: -100%;z-index: 99;}
header nav ul li {
display: block;
float: none;
border-bottom:1px solid rgba(255,255,255,.3);
z-index: 99
}
header nav ul li:hover{
color:red;
}
.menu_bar{
display:block;
width: 100%;
background: #ccc;
z-index: 99
}
.menu_bar .bt-menu{
display: block;
padding: 20px;
background: #bc2045;
color: white;
text-decoration: none;
font-weight: bold;
font-size: 25px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
z-index: 99;
}
}