Skip to content

Instantly share code, notes, and snippets.

@nelsonJM
Created February 6, 2013 16:29
Show Gist options
  • Select an option

  • Save nelsonJM/4723784 to your computer and use it in GitHub Desktop.

Select an option

Save nelsonJM/4723784 to your computer and use it in GitHub Desktop.
CSS: IMG Thumb border
img.thumb {
display: block;
border: solid 4px #fff;
-webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
border-radius: 3px;
-webkit-transition-property: box-shadow;
-moz-transition-property: box-shadow;
-o-transition-property: box-shadow;
transition-property: box-shadow;
-webkit-transition-duration: 300ms;
-moz-transition-duration: 300ms;
-o-transition-duration: 300ms;
transition-duration: 300ms;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment