I'm wondering if it's possible to create a shape like this with pure CSS. The reason I don't want to use the image as a background is because I need those segments to be able to expand dyanmically.
I already tried creating the middle donut shape, but I can't figure out how to apply those shadows and the lines dividing the segments...
I would really appreciate some help.
This is my already exisiting donut shape:
.circle {
width: 200px;
height: 200px;
border: 1px solid #000;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.circle__inner {
width: 100px;
height: 100px;
border: 1px solid #000;
border-radius: 50%;
}
<div class="circle">
<div class="circle__inner"></div>
</div>
