Design comparison
SolutionDesign
Community feedback
- @LinhUKPosted 3 months ago
This looks great. From looking at other solutions, I've learned that using CSS variables are a great way to enhance flexibility and maintainability of stylesheets. E.g., :root { /* Background Colours */ --light-blue: hsl(212, 45%, 89%); } body { background-color: var(--light-blue); }
https://www.w3schools.com/css/css3_variables.asp
0@shiv-pratap04Posted 3 months ago@LinhUK thanks for suggestion. I will use it in future challenges
1
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