<div class="heart"></div>
<div class="heart" style="width: 120px;--c:purple;"></div>
<div class="heart" style="width: 80px;--c: pink"></div>
.heart {
  --c: red;
  width: 200px;
  aspect-ratio: 1;
  background:
   radial-gradient(at 70% 31%,var(--c) 29%,#0000 30%),
   radial-gradient(at 30% 31%,var(--c) 29%,#0000 30%),
   linear-gradient(var(--c) 0 0) bottom/100% 50% no-repeat;
  clip-path: polygon(-43% 0,50% 91%, 143% 0);
}


body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-content: center;
  place-items: center;
  grid-auto-flow: column;
  gap: 15px;
}
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.