
Solution retrospective
What specific areas of your project would you like help with?
I have a habit of setting rem as 10px:
:root {
font-size: 10px;
}
so, for example, if I want a 16px font size for body, I use:
body {
font-size: 1.6rem;
}
At the CSS report, I got a declaration-property-unit-disallowed-list warning, which told me to consider using relative units.
Is this a bad practice, responsive design wise?
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Toan Nguyen's solution.
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