]]> Galerie d'images CSS3 Hover ~ aw ! web LE PARTAGE

What is JavaScript?

JavaScript is a scripting language originally developed by Netscape to add interactivity and power to web documents. It is purely client side, and runs completely on the client's browser and computer.

Difference betwen Java & JavaScript?

Java is completely different from JavaScript- the former is a compiled language while the later is a scripting language.

What is DHTML?

DHTML is the embodiment of a combination of technologies- JavaScript, CSS, and HTML. Through them a new level of interactivity is possible for the end user experience.

Galerie d'images CSS3 Hover

Galerie d'images CSS3 Hover

Une galerie d'image élégante qui tire parti de CSS3 animation, des ombres, et les « transformer »la propriété d'ajouter instantanément un effet lisse planent à ses images, par lequel l'élargissement de l'image et se rapproche de l'utilisateur.

L'effet hover fonctionne mieux actuellement dans Google Chrome, Safari 4 + et Opera 9.5 +. Dans FF 3.6, l'animation CSS est ignorée, alors que dans IE, tout l'effet n'est pas visible.

/*noter :vous pouvez traduire les commentaires de votre css, le modifier et le traduire a votre langue via ce lien http://translate.google.com */


             
                                     


                                      



Le code css




<style type="text/css">


.hovergallery img{
-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>

Le code html






<div class="hovergallery">
<img src="votre lien de l'image ici-https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj22l8YjXwaWo7X9S0EXnAIWfgjfmnxqDb7BFdQaA2edYLtt3ABMwgRNWJT_gN5T2l0r0SjejcF8csk89rCjxdmI8DA-c7RcHHJzBSqo83OkXT7JmugOfmWLEGzS-eUeRbXGcTUhgQoEHtY/s200/BCute.JPG" />
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3fCG8_ZU-n5ZBY00_KcaHXfVuc8st0fPuTXOcWH_-315pnDrcXvk22G80dldT2fmEAQMlVuqR-I-iGXHMThru-PFiCkl4123yCdMB-oK86TpGZ1V6YUm-z1HYXp0E8K4tRH6V73s2UHlP/s200/BeMagazine.JPG" />
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicYkMTV6Nj6mDfCrrqBVne9fFy1pNNf1uGCTJEiUu25y3zc69J-rTQA7Yyg6OGWh5DWakLHRH7gpNM0CjvAcKKHitWgfYPcuCTtaWxHxI8gUQTxKfsVVxxpXnHJWwPnDXbkTucvLPFix02/s200/Christmas-V2.JPG" />
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMLvn1ZwEF4qlnok_K_RcB6-pqF2RVm2zzayKzF8K1iK23X44kLhCiqsfcfnTQps-kMiPO7RApCW14fYfEwHHgQml_MUk8M1toKlMvYNFaDyteaNsyp_iasc3qsZiR95-CLQPa48yVq1oZ/s200/Echo-History.JPG" />
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzR1g83FdTzbwwjiK1JF2nJ0wke3mL9eu1azUhfd2EBb8dXRlyWPT_dhJHVVYpykqdJzbagm1vfXA6fajH4qXaQu22kDoar8IGCdTZeuel3O46yw_q_8wLVveizmBheweqx6gaiKxOAESd/s200/coldblue.jpg" />
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ9m-nQJ_hkpV4lYtuCKbhfFwjFLowwlnhvJubDl-hnT5aJ9EI7yYEDKbehBO8Aataeg3sNcCwMmjJNAVsPoBNV0IgZkuqpF0j2lBMcWNy7anAuK19znVCPeT_xi5oxS9LRg7iNf7rhHHF/s200/Graffiti-Art.JPG" />
</div>



0 commentaires:

 
nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn