I am currently working on creating a responsive CSS menu with dropdown functionality. I am facing some challenges in implementing this feature. Here is the progress so far: http://codepen.io/anon/pen/vmxua
Below is the CSS code snippet:
nav {
margin: 0 auto;
text-align: center;
background: #fff;
height:70px;
}
nav ul {
list-style: none;
margin: 0;
padding: 0;
display: inline-block;
vertical-align: top;
background: rgba(148,148,149,1);
/* Additional gradient background styles */
}
nav ul li {
float: left;
margin: 0;
padding: 0;
}
/* Styling for nav links */
nav ul li a {
display: block;
padding: 10px 7px;
width:80px;
color: #000;
text-decoration:none;
}
nav ul li~li { border-left: 1px solid #857D7A; }
/* Background and color for active link */
nav .active a {
background: rgba(180,85,12,1);
/* Additional gradient background styles */
color:#fff;
}
Thank you for your assistance.