-
Zoom in
HTML
<div id="containerEx11">
<div class="ex11"><img src="https://orig" alt="" width="190" height="170" /> <img src="http://gif" alt="" width="190" height="170" /></div>
</div>CSS
<style type="text/css"><!--
/*GloriaV */
/*URL: http://tutorialgloriav.eklablog.com/*/
#containerEx11 {width: 800px;
margin: 0 auto;
}
.ex11 img {
margin: 20px;
border: 2px dotted #fff;
border-radius: 1em/2em;
-webkit-box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
-moz-box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
box-shadow: 4px 4px 4px rgba(0,0,0,0.2);
-webkit-transition: all 0.5s ease-out;
-moz-transition: all 0.5s ease;
-ms-transition: all 0.5s ease;
}
.ex11 img:hover {
opacity: 0; -webkit-transform: scale(1.2); }
100% { opacity: 1; -webkit-transform: scale(1); }
}
opacity: 0; -moz-transform: scale(1.2); }
100% { opacity: 1; -moz-transform: scale(1); }
}
opacity: 0; -o-transform: scale(1.2); }
100% { opacity: 1; -o-transform: scale(1); }
}
opacity: 0; transform: scale(1.2); }
100% { opacity: 1; transform: scale(1); }
}
--></style>
-
Commentaires
Aucun commentaire pour le moment
Ajouter un commentaire