Design comparison
SolutionDesign
Solution retrospective
Can we use percentage and em simultaneously? When I was designing it got jumbled up. So, I decided to use pixels as it was working fine in this case.
Community feedback
- @Dinesh1042Posted almost 3 years ago
Yes, you can but avoid using pixels most often use
rem
orem
on font size. You can take on this StackOverflow question Should I use px or rem value units in my CSS? .Fantastic Work Happy Coding!
Marked as helpful2
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