create hover out effect using css3 - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Hover Effect

Description

create hover out effect using css3

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">
.imgDiv img:hover {
   -webkit-transform:scale(2.16, 2.16);
   -moz-transform:scale(2.16, 2.16);
   -o-transform:scale(2.16, 2.16);
   -ms-transform:scale(2.16, 2.16);
   transform:scale(2.16, 2.16);
}
</style> <!--from www.j ava2  s  . co m-->
 </head> 
 <body> 
  <div class="imgDiv"> 
   <img src="https://www.java2s.com/style/demo/Opera.png"> 
   <img src="https://www.java2s.com/style/demo/Firefox.png"> 
   <img src="https://www.java2s.com/style/demo/Safari.png"> 
   <img src="https://www.java2s.com/style/demo/Firefox.png"> 
  </div>  
 </body>
</html>

Related Tutorials