I want to create this shape with overlapping circles in CSS:

In principle, circles are simply stacked. I looked around and all the solutions that I see include using multiple div elements for this effect. However, is it possible to do this with a single div using CSS3? I looked at how easy it is to do, and thought that if all the colors are the same, you will have this form of pills:
http://jsfiddle.net/5wytm0r4/
#circles { background-color: red; width: 130px; height: 100px; border-radius: 50px; }
<div id="circles"></div>
And then just draw a couple of quarters of the moon, and you're done. However, I cannot figure out how to draw these moon shapes in my capsule shape.
html css css3 css-shapes svg
ohyeah Dec 05 '14 at 10:59 2014-12-05 10:59
source share