That's they way I do it, at least. I build all my code for mobile and then start increasing my viewport width slowly. When things start to look weird, I tweak my code and add media queries of necessary.
Marked as helpful
Looking to hire developers?
I don't know if I'm using media queries correctly. Should I be building the bulk of my CSS for mobile purposes, and then creating a media query with the necessary changes to the CSS for desktop view? Or should I have individual queries for each?
I'm not sure I've implemented the desktop to browser switch effectively.
That's they way I do it, at least. I build all my code for mobile and then start increasing my viewport width slowly. When things start to look weird, I tweak my code and add media queries of necessary.
Marked as helpful
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