Skip to content

Instantly share code, notes, and snippets.

@ElmahdiMahmoud
Last active October 13, 2015 03:08
Show Gist options
  • Select an option

  • Save ElmahdiMahmoud/4130114 to your computer and use it in GitHub Desktop.

Select an option

Save ElmahdiMahmoud/4130114 to your computer and use it in GitHub Desktop.
css: img scale
/* img */
-webkit-transform:scale(0.9);
-moz-transform:scale(0.9);
-o-transform:scale(0.9);
-webkit-transition-duration: 0.5s;
-moz-transition-duration: 0.5s;
-o-transition-duration: 0.5s;
/* img:hover */
-webkit-transform:scale(1.1);
-moz-transform:scale(1.1);
-o-transform:scale(1.1);
box-shadow:0px 0px 10px rgba(0,0,0,0.2);
-webkit-box-shadow:0px 0px 10px rgba(0,0,0,0.2);
-moz-box-shadow:0px 0px 10px rgba(0,0,0,0.2);
border-bottom: 2px solid #fff;
background: #fff;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment