.heart, .a, .b { background-color: crimson; position: absolute; } .heart { width: 56%; aspect-ratio: 1 / 1; } .a, .b { width: 100%; height: 100%; } .a { bottom: 0; } .b { left: 0; }