1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-10-23 18:56:29 +02:00
Files
csslayout/styles/patterns/_teardrop.scss
Phuoc Nguyen b9a3335af9 feat: Teardrop
2022-09-20 08:34:00 +07:00

21 lines
375 B
SCSS

.teardrop {
/* Center the content */
align-items: center;
display: flex;
justify-content: center;
/* Border */
border: 2px solid rgba(0, 0, 0, 0.3);
border-radius: 0px 50% 50% 50%;
/* Angle at the top */
transform: rotate(45deg);
/* Size */
height: 4rem;
width: 4rem;
}
.teardrop__content {
transform: rotate(-45deg);
}