Lighten an element on hover - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Hover on list

Description

Lighten an element on hover

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">
body {<!--from   w  w  w . j  a v  a 2 s . com-->
   background-color:Chartreuse;
}

a {
   padding:2em 3em;
   background-color:yellow;
   color:blue;
   text-decoration:none;
}

a:hover {
   -moz-box-shadow:inset 0 0 100px 100px pink;
   -webkit-box-shadow:inset 0 0 100px 100px OrangeRed;
   box-shadow:inset 0 0 100px 100px grey;
}
</style> 
 </head> 
 <body> 
  <a href="#">Lorem</a>  
 </body>
</html>

Related Tutorials