Design comparison
Solution retrospective
Good evening tribe! can someone please tell me how can I make this responsive for mobile/small screens. I know I need to use @media () but I am not sure exactly what to do.
Community feedback
- @AndrewfpaiPosted about 3 years ago
You can use this below code for mobile:
@media only screen and (min-width: 320px) { body { } }
But, I recommend you to design the mobile version first, then do the desktop design because when you design your mobile version, the "min-width" of screen is 0px. So that means, you just only use @media.. for desktop version. I hope this can help you, thanks.
0@mrtrell42Posted about 3 years ago@Andrewfpai I've noticed that in the style sheets it says mobile and desktop. I am not really sure what that means. Can you suggest any resource that will explain how I make the mobile version first, or give me a quick run down of what that means please.
0@AndrewfpaiPosted about 3 years ago@mrtrell42 oh sorry, you can go to https://www.w3schools.com/ website to check all HTML and CSS elements, including the "media" one.
0 - Account deleted
The page doesn't work, check if you got the correct url.
0@mrtrell42Posted about 3 years ago@thulanigamtee I re submitted the challenge but I will still provide the link.https://mrtrell42.github.io/Front-end-challenge-2/
0Account deleted@mrtrell42 You need to change the
flex-direction
fromrow
tocolumn
then take everything from there.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