Created
December 21, 2011 23:58
-
-
Save dennisfrank/1508289 to your computer and use it in GitHub Desktop.
Rounded image with border and shadow
This file contains 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
/** | |
* Rounded image with border and shadow | |
*/ | |
.rounded { | |
border-radius: 50%; | |
box-shadow: 0 0 0 6px #fff, 0 1px 1px 6px rgba(0,0,0,.5); | |
} | |
This file contains 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 src="http://placekitten.com/96/96" class="rounded"> | |
This file contains 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
{"view":"split","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment