Design comparison
Solution retrospective
I was able to find solutions to a bug in the code
What challenges did you encounter, and how did you overcome them?Had problems with a section of the CSS styling. I looked the prblem up in a Jennifer Nierdest Robinson book I used to learn
What specific areas of your project would you like help with?Mobile responsiveness
Community feedback
- @AkoToSiJeromeEhPosted 6 months ago
Hey ! Great work out there i just notice that the blog preview card is not vertically position in center , you are correct on using display : flex and its related properties but there are crucial and important css property when you want to position or in your case center a element that is height by adding height in body the card component will vertically align on center. that's all happy coding !!
you can see the difference when you inspect the webpage
body { background-color: hsl(47, 88%, 63%); display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 100vh; // add this }
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