one-orb
@one-orbAll solutions
- Submitted 5 months ago
Simple layout using semantic HTML and CSS Flexbox
- HTML
- CSS
I'd love to know whether using {px} as the unit of length is acceptable for webpage design or if it's better to use units like {em} or {rem}? On this thread, I'm also wondering if there are some simple rules to follow when using these units or was my approach of adjusting it bit by bit until it looked right the accepted standard?
Is a media query necessary for something like this? If the main element is already narrow enough to be read on a mobile screen does it really need all the extra bells and whistles to scale it down? Feels like you would be doing a lot of extra work for something unneccessary or am I seeing this wrong?
Any other feedback on how to make the code better, more readable or even using less lines would be very much appreciated!