Eklablog Tous les blogs Top blogs Technologie & Science Tous les blogs Technologie & Science
Editer l'article Suivre ce blog Administration + Créer mon blog
MENU

Tutorial, CSS, HTML

 


Hover 1   

 

<div class="hovergallery"><img src="http://katka5212.bloglap.hu/kepek/201401/uj018.gif" alt="" width="180" height="250" /> <img src="https://lh5.googleusercontent.com/-uZasZsRKh28/U1p5I5BUK6I/AAAAAAAATFw/dQF71VljcS0/w569-h444-no/5.gif" alt="" width="200" height="200" /> <img src="http://dl4.glitter-graphics.net/pub/1024/1024014p7fz7jhlrw.gif" alt="" width="200" height="200" /> <img src="https://lh4.googleusercontent.com/-3IMVihieIkM/U9jVrwtOruI/AAAAAAAAwZQ/Zq4EeFiDQj0/w457-h500-no/656059024.gif" alt="" width="200" height="200" /></div>
<style type="text/css"><!-- /*Credits: Dynamic Drive CSS Library */    /*URL: http://www.dynamicdrive.com/style/ */   .hovergallery img{ 
border: 2px solid #fff;
border-radius: 1em/1em;
box-shadow: 3px 2px 6px #000000;
-webkit-transform:scale(0.8); /*Webkit: Scale down image to 0.8x original size*/ 
-moz-transform:scale(0.8); /*Mozilla scale version*/  
-o-transform:scale(0.8); /*Opera scale version*/  
-webkit-transition-duration: 0.5s; /*Webkit: Animation duration*/  
-moz-transition-duration: 0.5s; /*Mozilla duration version*/  
-o-transition-duration: 0.5s; /*Opera duration version*/  
opacity: 0.7; /*initial opacity of images*/ 
margin: 0 10px 5px 0; /*margin between images*/  
}  
  
.hovergallery img:hover{  
-webkit-transform:scale(1.1); /*Webkit: Scale up image to 1.2x original size*/
 
-moz-transform:scale(1.1); /*Mozilla scale version*/  
-o-transform:scale(1.1); /*Opera scale version*/  
box-shadow:0px 0px 30px gray; /*CSS3 shadow: 30px blurred shadow all around image*/ 
-webkit-box-shadow:0px 0px 30px gray; /*Safari shadow version*/ 
-moz-box-shadow:0px 0px 30px gray; /*Mozilla shadow version*/  
opacity: 1; 
}  
--></style>
 

 

Retour à l'accueil
Partager cet article
Repost0
Pour être informé des derniers articles, inscrivez vous :
Commenter cet article