Design comparison
Solution retrospective
I learned how to switch another photo when layout shift.I used picture element but hope on anoter project I could do same or similar thing by using only srcset and sizes.I think picture gives you more control what picture to use while with sizes browser decides what is situation and then picks photo
What challenges did you encounter, and how did you overcome them?Tryed to do as much as possible same as design I think I did pretty close.
What specific areas of your project would you like help with?Any new thing anything layout better css I would love to hear different perspective and would like to learn and apply it next time in other projects
Community feedback
- @SvitlanaSuslenkovaPosted 3 months ago
@media screen and (min-width: 800px) { body { padding: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 100vh;}} Try this to align(top-bottom) and justify(left-right) your project to the center. It applies to the parent component(body). You can use grid instead of flex too(with some changes). Hope you found this comment helpful :)
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