@charset "UTF-8"; #showMenu{ display: none; } .showMenu{ display: none; margin:0; padding:0; background: #555555; color: white; padding :10px 15px; } nav{ text-align: center; /* width: 100%; background-color: white; border-bottom: 1px solid #215898; z-index: 100; position: fixed; */ } nav a{ text-decoration: none; color: #c3c3c3; } nav ul { **text-align: center;/*ie7*/ display: inline-block; list-style-type:none; margin:0; padding:0; /*background: #767676;*/ color: #ffffff; /*position: relative;*/ /*_width: 780px;/*para ie6*/ /**width: 780px;/*ie7*/ } nav ul li{ display: inline-block; } nav ul li a{ display: block; *display: inline; padding :10px 15px; /*border-bottom: solid 1px #989898;*/ margin: 1px -2px; font-size: 18px; } nav li a:hover{ /* rotar*/ /* transform:rotate(360deg); -webkit-transform:rotate(360deg); */ background: #215898; color: #fff; /*espejo -webkit-box-reflect: below 10px -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(255, 255, 255, 0.40))); */ transition: all 0.7s; -moz-transition: all 0.7s; -webkit-transition: all 0.7s; -o-transition: all 0.7s; } nav li img{ max-height: 20px; } #showMenu:checked ~ ul{ /*opacity: 1; height: 250px; */ display: block; } #logoMenu{ display: none; } @media screen and (max-width : 750px){ /* nav ul{ opacity: 0; height: 0; overflow: hidden; -webkit-transition: all 0.3s ease 0.3s; -moz-transition: all .3s ease .3s; -o-transition: all .3s ease .3s; -ms-transition: all .3s ease .3s; transition: all .3s ease .3s; } */ nav ul{ position: absolute; z-index: 5; display: none; width: 100% } .showMenu{ display: block; } .liMenu{ background-color: #696969; display: block; } }