Submitted about 5 years ago
Intro component with sign up form | Using flexbox and javascript
@pyteng
Design comparison
SolutionDesign
Solution retrospective
Still need to work on my mobile-first approach and the javascript DOM.
My question is:
What is the best way to use media query? So far i've been using max-width for smaller device and min-width for larger/desktop.
Community feedback
- @mattstuddertPosted about 5 years ago
Nice work, Teng! I always just go with
min-width
and work mobile-first. It's a nice workflow and also has the added benefit of loading in fewer styles for mobile users.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