Aricle Preview Component Using CSS & JS

Please log in to post a comment
Log in with GitHubCommunity feedback
- @MarziaJalili
Mashallah! 🎉
🌟 Here you go with the tip!
✅ First, there's a shorthand property for setting all the corners of an element at once.
- Here's how it can be implemented:
/* Basic syntax */ border-radius: [top-left] [top-right] [bottom-right] [bottom-left]; /* Even shorter */ border-radius: [horizontal radii] / [vertical radii];
- In this case, for example:
.share-message { border-radius: 0 0 var(--gap-sml) var(--gap-sml); }
Keep being awesome!
😎😎😎
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