Design comparison
Solution retrospective
I am proud of getting to algin some of the text elements with other elements like the img icon in the left bottom corner to be centered and also getting to have it be a bit more interactive compared to the first project.
What challenges did you encounter, and how did you overcome them?One challenge was to get the text aligned with some of the other elements like the yellow box in the top left corner or the img icon in the bottom left corner
What specific areas of your project would you like help with?overall what is meant with the mobile and desktop versions and how to really get that set up.
Community feedback
- @kodan96Posted 6 months ago
hi there! 👋
Changing your layout depending on the screen size can be achieved with
@media
queries in your CSS file. After defining a@media
querie you can make changes on the layout you made before. For example:@media screen and (min-width: 768px) { h1 { font-size: 3rem; } }
would change the
h1
element'sfont-size
to 3rem, but only if the screen size is 768px or more. Below that value your original properties gets applied to the page.Hope this was helpful 🙏
Good luck and happy coding!
Marked as helpful1@NateDaveHillPosted 6 months ago@kodan96 that’s awesome! Thank you, will give this a try ! 🙏
1
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