Created
January 10, 2014 15:23
-
-
Save yannvery/8356289 to your computer and use it in GitHub Desktop.
how to make an img-circle like bootstrap
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
.circular { | |
width: 300px; | |
height: 300px; | |
border-radius: 150px; | |
-webkit-border-radius: 150px; | |
-moz-border-radius: 150px; | |
background: url(http://link-to-your/image.jpg) no-repeat; | |
box-shadow: 0 0 8px rgba(0, 0, 0, .8); | |
-webkit-box-shadow: 0 0 8px rgba(0, 0, 0, .8); | |
-moz-box-shadow: 0 0 8px rgba(0, 0, 0, .8); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment