Advent 2021 - Day 20 - Star pfp!
Happy December 20th!
I hope you have a great day so far!
Today I want to share a tiny bit of code with you that can make your profile picture turn into the shape of star!
<style>
.general-about .profile-pic img{
clip-path: polygon(50% 0%, 67% 29%, 98% 35%, 75% 58%, 79% 91%, 50% 75%, 21% 91%, 25% 58%, 2% 35%, 33% 29%)
}
</style>
I hope you like it!
If you want to turn your profile picture into a different shape, make sure to check out this site to get the "clip-path" codes for other shapes!