Study very much about flex and grid in css

Please log in to post a comment
Log in with GitHubCommunity feedback
- @Lescano713
You can group all the colors and font sizes using the :root selector. This makes it easier to change the styles later.
I noticed you call the p and h4 selectors within each div. Another approach is to target the div, h4, and p directly, as they share the same properties. If you need to exclude a specific div, you can use the CSS :not selector. Alternatively, consider using <section> instead of div for the cards, and <header> instead of the first div.
Marked as helpful
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