Submitted about 3 years ago
3-theme-calculator-app using flex and grid structure
@irudhirn
Design comparison
SolutionDesign
Solution retrospective
By default the font size is 16px, so 1rem is 16px, but it makes calculations difficult, like for 20px it's 1.25rem, 25px = 1.5625rem html { font-size: 62.5% } This 62.5% changes default font size to 10px, so 1rem becomes 10px and it's easy for calculations like 20px = 2rem, 16px = 1.6rem, 25px = 2.5rem.
Any suggestions appreciated...
Community feedback
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