css.gg
Version:
Minimalistic Icon library Designed by code.
45 lines (41 loc) • 848 B
CSS
.gg-heart,
.gg-heart::after {
border: 2px solid;
border-top-left-radius: 100px;
border-top-right-radius: 100px;
width: 10px;
height: 8px;
border-bottom: 0
}
.gg-heart {
box-sizing: border-box;
position: relative;
transform:
translate(
calc(-10px / 2 * var(--ggs,1)),
calc(-6px / 2 * var(--ggs,1))
)
rotate(-45deg)
scale(var(--ggs,1));
display: block
}
.gg-heart::after,
.gg-heart::before {
content: "";
display: block;
box-sizing: border-box;
position: absolute
}
.gg-heart::after {
right: -9px;
transform: rotate(90deg);
top: 5px
}
.gg-heart::before {
width: 11px;
height: 11px;
border-left: 2px solid;
border-bottom: 2px solid;
left: -2px;
top: 3px
}