CodeNewbie Community 🌱

Toqeer Abbas
Toqeer Abbas

Posted on

CSS Heart Shape

in this post, I will tell you how we can make a heart shape in CSS.
HTML
Alt Text

CSS
After adding HTML you need to style it with CSS.
1- Style body tag

Alt Text
2- style heart class
Alt Text

3- Style Pusedo-class ::after ,::before
Alt Text

After it runs into the browser.

I hope you learn from this. if you want a video of this
video link:

Oldest comments (0)