Buenas, alguien sabe porque al hacer la transiccion al pasar sobre cada pestaña del menu se me descoloca y baja?
Os dejos el codigo:
Código HTML:
Ver original<!DOCTYPE html>
Menu
nav {
margin-top: 50px;
box-shadow: inset 0 5px 18px rgba(0, 0, 0, 0.6);
float: left;
width: 100%;
height:200px;
background: rgba(0, 0, 0, 0.05);
margin: auto;
text-align: center;
}
nav ul {
list-style: none;
}
nav ul #menu{
border-top: 1px solid #ff8c00;
margin-left: 10em;
margin-right: 10em;
padding: 0;
width: 700px;
box-shadow: inset 0 10px 18px -13px #ff8c00;
border-top-right-radius: 1px;
border-top-left-radius: 1px;
}
nav ul li{
position: relative;
display: inline-block;
margin: 10px;
margin-top: 0;
padding: 0.8em;
width: 80px;
height: 10px;
background: #d5d5d5;
font-family: 'Gorditas', cursive;
font-weight: 300, bold;
border-bottom-right-radius: 20px;
border-bottom-left-radius: 20px;
box-shadow: inset 0 10px 20px -11px #ff8c00;
}
nav ul li a{
color: #444444;
text-decoration: none;
}
nav ul li:hover{
box-shadow: 0 2px 10px #ff8c00;
background-color: #ff8c00;
height: 40px;
-webkit-transition-duration: 1s;
margin-top: 0;
}
Aparte de esto, como vereis arriba tiene un borde con una sombra naranja, pero se me ve un poco mal, sabeis alguna formar de poner la sombra solo en el top, porque en los laterales se me ve algo