この図形をCSSから作成できますか?
.shape {
margin: 40px;
height: 40px;
width: 100px;
border-radius: 50px;
background: #333;
position: relative;
}
.shape:before {
height: 80px;
width: 80px;
border-radius: 100%;
content: '';
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background: #333;
}
<div class="shape"></div>
あなたは近くです。 ':: after'だけが必要です。 –