CSS Menu hover showing image - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Menu Hover

Description

CSS Menu hover showing image

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
* {<!-- w  ww  .j  a  va2  s. c om-->
   font-family:'Verdana', sans-serif;
   font-size:13px;
   overflow:auto;
   padding:0;
   margin:0;
}

ul#navigation {
   list-style-type:none;
   background:Chartreuse;
   color:yellow;
}

#navigation>li {
   padding:26px;
   float:left;
}

ul#navigation>li:hover {
   background:url('https://www.java2s.com/style/demo/Google-Chrome.png') no-repeat 100% 100% black;
}
</style> 
 </head> 
 <body> 
  <ul id="navigation"> 
   <li>Lore</li> 
   <li>Lorem ips</li> 
   <li>Lorem ip</li> 
   <li>Lorem i</li> 
  </ul>  
 </body>
</html>

Related Tutorials