I have a navigation with full width submenu but the drop down is too hard. I want it to be like a slide down with easing this is my fiddle
http://jsfiddle.net/cancerian73/bK9mF/
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
/* not very relevant styling */
h1 {
font-size: 20px;
padding-top: 20px;
}
.container {
position: relative;
margin: 20px auto 0 auto;
width: 75%;
}
.header {
background: #eee;
}
.nav {
background: #ccc;
}
/* relevant styling */
body {
overflow-x: hidden;
}
/* trick from css-tricks comments */
/* FIRST LEVEL */
.nav > ul > li {
display: inline-block;
position: relative;
padding: 3px 10px 3px 0;
z-index: 100;
}
/* SECOND LEVEL */
.nav > ul > li > ul {
position: absolute;
left: 0;
top: 100%;
padding: 0 1000em;
/* trick from css-tricks comments */
margin: 0 -1000em;
/* trick from css-tricks comments */
z-index: 101;
visibility: hidden;
opacity: 0;
background: rgba(255, 240, 240, 0.8);
}
.nav > ul > li:hover > ul {
visibility: visible;
opacity: 1;
}
.nav > ul > li > ul > li {
padding: 3px 0;
}