Design comparison
SolutionDesign
Community feedback
- @andersongomes001Posted 22 days ago
Create variables in CSS and set colors and fonts, it's easier.
:root { --color-green: hsl(75, 94%, 57%); --color-white: hsl(0, 0%, 100%); --color-grey-700: hsl(0, 0%, 20%); --color-grey-800: hsl(0, 0%, 12%); --color-grey-900: hsl(0, 0%, 8%); --font-inter: "Inter" } body { background-color: var(--color-grey-900); font-size: 14px; font-family: var(--font-inter); }
0
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