Created
February 6, 2013 16:29
-
-
Save nelsonJM/4723784 to your computer and use it in GitHub Desktop.
CSS: IMG Thumb border
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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