HTML
<div class="down"></div>
<div class="up"></div>
<div class="down"></div>
CSS
body {
background: #62306D;
display: flex;
align-items: center;
justify-content: center;
}
div {
width: 100px;
height: 100px;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
background: #F7EC7D;
position: relative;
}
.up {
top: -50px;
}
.down {
transform: rotate(180deg);
top: 50px;
}
Top comments (0)