CSS3 roundel with inserted image
CSS3 roundel with inserted image
HTML
<link rel="stylesheet" href="http://twitter.github.com/bootstrap/assets/css/bootstrap.css">
<div class='container span8'>
<div id="face-wrapper">
<p class="img-circle">11 </p>
</div>
</div>
CSS
/*make the image square in photohop in reality*/
.face{width:180px;height:180px;margin:20%}
#face-wrapper .face {
position: absolute;
z-index: 1;
-moz-box-shadow: 0px 0px 0px 15px #e8e6e6; /* Firefox */
-webkit-box-shadow: 0px 0px 0px 15px #e8e6e6; /* Safari, Chrome */
box-shadow: 0px 0px 0px 15px #e8e6e6; /* CSS3 */
}
.img-circle {
-webkit-border-radius: 500px;
-moz-border-radius: 500px;
border-radius: 500px;
}