GitHub 6740★

Have you seen CSS Scan?

The fastest and easiest way to check, copy and edit CSS.

Learn more →

CSS Scan logo

Teardrop

HTML

<div class="teardrop">
<!-- Display the content vertically -->
<div class="teardrop__content">
...
</div>
</div>

CSS

.teardrop {
/* Center the content */
align-items: center;
display: flex;
justify-content: center;

/* Border */
border: 2px solid #d1d5db;
border-radius: 0px 50% 50% 50%;

/* Angle at the top */
transform: rotate(45deg);

/* Size */
height: 4rem;
width: 4rem;
}

.teardrop__content {
transform: rotate(-45deg);
}
Demo
Follow me on and to get more useful contents.