Over-exploiting the Powers of GRID and FLEXBOX!
Design comparison
Solution retrospective
do we have to use percentages always or shall we can work with rems as well, i didn't use any percentages here and still it scales well on screens. Please give your opinion on this ?
Community feedback
- @LaplaceXDPosted about 4 years ago
So far in my works, I only ever use percentages in sizing containers or main wrappers, so it scales well as the screen size increases. Another reason I do this, since with the power of flexbox and grids, you don't really need to size elements inside containers to be relative to the size of its container. So, no you don't need to use percentages always, I only use ems for sizing widths, and rems sometimes, but there are also some use cases that I use percentages but very sparingly.
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