Design comparison
Solution retrospective
This is the first time I've used media queries. Not everything worked out, but now I know where to go. I improved my knowledge of flexbox, inheritance and some other CSS features.
What challenges did you encounter, and how did you overcome them?I've spent a lot of time learning and using media queries. It was helpful ;)
What specific areas of your project would you like help with?Media queries (@media) - willing to take any advice on media queries. What to look out for, what to read, what to fix. Thanks in advance for any help with media queries!
Community feedback
- @DaniNewAccPosted 5 months ago
Regarding media queries, you need to start by styling the mobile design first and then use media queries for larger screen. On mobile devices, in this project, image needs to stay on top of the text so use on the container
display: flex and flex-direction: column
then when styling larger screen with@media (min-width: 'number of px for screen size')
useflex-direction: row
Marked as helpful0
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