Submitted almost 2 years ago
Responsive News Hompage Solution made with Vanilla JavaScript
@kxnzx
Design comparison
SolutionDesign
Solution retrospective
What I learned:
-
There is an easy fix to make multiple flex-items the same width by setting the width of the flex-children on 100%.
-
I have set the root font-size to 62.5% for an easier workflow. This makes the new root value 10px which equates to 1rem:
html { box-sizing: border-box; font-size: 62.5%; /* 62.5% of 16px browser font size is 10px */ }
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