Responsive product page with HTML CSS and Flexbox
Design comparison
Solution retrospective
I have used basic media queries and understanding the purpose was satisfiyng.
What challenges did you encounter, and how did you overcome them?Adjusting line height on and elements did require me to research. I found the solution in a short time. Also aligning svg icon with a text required a research but i've found a way to do it with changing the display properity of icon.
What specific areas of your project would you like help with?I want to write more clean and accessible code. I did my best here but still i am not 100% comfortable. Any suggestions and feedback will be appreciated! Thanks.
Community feedback
- @SvitlanaSuslenkovaPosted 3 months ago
body { 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 :)
Marked as helpful0@ToprakPehleeonePosted 3 months ago@SvitlanaSuslenkova Thank you so much for feedback !
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