
Submitted 4 months ago
Responsive Landing Page with Cards
#accessibility#animation#web-components
P
@welpmoz
Design comparison
SolutionDesign
Community feedback
- P@jyeharryPosted 4 months ago
Try to use more descriptive names for your css variables. Also, instead of inlining your css variables to the card components, just give your card components an extra class. Something like
card--red
for the red one. On that note, you should look into BEM class naming conventions. It's a popular way of styling your htmlMarked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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