I have 2 divs with some content. One "box" and one "circle" now I want to make them look like one figure only. Something like a box with a circled part at the bottom center. Hard to explain it in words I guess showing up some code is way better.
The markup:
<div class="box">content</div>
<div class="circle">content</div>
The CSS:
.box {
width: 500px;
height: 700px;
margin: 0 auto;
background: green;
border: 1px solid blue;
}
.circle {
width: 100px;
height: 100px;
margin: -50px auto 0 auto;
background: white;
border-radius: 50%;
box-shadow: 0 0 0 10px green,
0 0 0 11px blue;
}
Now I want to cut off the upper part of the circle's border(shadow). Anyone knows how to get this done? Perhaps there's also another (better) way to do this?
Thanks a lot