Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Make an image a circle using css
<div class="round-image"><img src="" alt=""></div>
.round-image img {
width: 300px;
height: 300px;
-webkit-border-radius: 150px;
-moz-border-radius: 150px;
-ms-border-radius: 150px;
-o-border-radius: 150px;
border-radius: 150px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment