CodePen

HTML

            
              <div id="nav"><!-- NAV START -->
			<ul>

				<li><a href="#" class="main">Home
					<ul class="fallback">
						<li><a href="">Toshiba</a></li>
						<li><a href="">Dell</a></li>
						<li><a href="">Acer</a></li>
					</ul>
				</a></li>

				<li><a href="#">Laptops</a></li>
				<li><a href="#">Consoles</a></li>
				<li><a href="#">Accessories</a></li>
				<li><a href="#">Mobile</a></li>
			</ul>
		</div><!-- NAV END -->
            
          
!

CSS

            
              /*NAVIGATION*/
#nav ul{
	float: right;
}

#nav li{
	display: inline;
}

#nav li ul{
	display: none;
}

#nav li ul li{
	display: block;
}

#nav li:hover > ul{
	display: block;
    position: absolute;
	width: 150px;
	height: 460px;
	margin-top: 5px;
}


#nav li a{
	color: #333;
	display: inline-block;
	padding: 5px 15px;
}

#nav li a:hover{
	background: url(images/bg_nav.png);
	color: #fff;

	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
}

            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              
            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................