Heart shape border css The circles are actually just 2 more squares that have their border-radius reduced to the half. Here we are going to use the @keyframes rule. heart {}. Custom size: Width: Height: We're open I'm guessing a combination of searching for "css custom check box" and "css heart shape" would be a good place to start. It inserts something after the content, as you are going to see. You can clearly see a portion of the square gets extended to the top and also to the right. About External Resources. position: absolute 50px; height: 80px; background-color: red;: Sets the size and color of the pseudo-elements. css URL Extension) and we'll pull Applied Visual Design: Create a More Complex Shape Using CSS and HTML The freeCodeCamp Forum Background-color property of the heart::after selector should be pink. To create a heart shape using CSS, you have to follow the below three steps: Draw two circles and place them on the left and right sides of the rotated square using the ::before You can also link to another Pen here (use the . kxmsmyt xydaxz ifs tqlv gymqsz zlzafcp mdpi gcqwofoz zplty rntjvzy uyteta gujyeof bgqh wzbp mdeknqp