CSS hover on menu bar - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Menu Hover

Description

CSS hover on menu bar

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <title>Lorem ipsum dolor sit amet, consectetur ad</title> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
div<!--  w w  w  . java 2 s .com-->
 {
   border:2px solid Chartreuse;
   padding:11px;
   font-size:21px;
   background-color:yellow;
   box-shadow:inset 0px -51px 76px -51px blue;
   -moz-box-shadow:inset 0px -51px 76px -51px pink;
   -webkit-box-shadow:inset 0px -51px 76px -51px OrangeRed;
}

div:hover
 {
   background-color:grey;
}
</style> 
 </head> 
 <body> 
  <div>
    Lorem ips 
  </div>  
 </body>
</html>

Related Tutorials