Article preview component

Solution retrospective
The functionality of the share button.
What challenges did you encounter, and how did you overcome them?i was confused as to how i would obtain the shape of the share-links box
I used a basic clip path to get the triangle at the bottom of the share-links box.
clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
and then positioned it to match the design.
is there a better way i could have done/gotten the shape of the box??
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Lucky Avbunufe's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord