-
HTML
<div id="containerEx10">
<div class="ex10"><img src="http://gif" alt="" width="190" height="170" /> <img src="http://gif" alt="" width="190" height="170" /></div>
</div>
CSS
<style type="text/css"><!--
#containerEx10 {width: 800px;
margin: 0 auto;
}
.ex10 img {
margin: 20px;
border: 2px dotted #fff;
border-radius: 1em;
-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;
}
.ex10 img:hover {
-webkit-transform: scale(.6); }
100% { opacity: 1; -webkit-transform: scale(1); }
}
opacity: 0; -moz-transform: scale(.6); }
100% { opacity: 1; -moz-transform: scale(1); }
}
opacity: 0; -o-transform: scale(.6); }
100% { opacity: 1; -o-transform: scale(1); }
}
opacity: 0; transform: scale(.6); }
100% { opacity: 1; transform: scale(1); }
}
--></style>
-
Commentaires
Aucun commentaire pour le moment
Ajouter un commentaire