Design comparison
Solution retrospective
I'm proud for the fact that I fully mastered how to position content via relative, absolute and fixed values
What challenges did you encounter, and how did you overcome them?There weren't any challenges worth diving into
What specific areas of your project would you like help with?Nothing particular
Community feedback
- @geomydasPosted 5 months ago
blog card ain't even centered properly and the repo link is broken. i don't have your code so my solution may be wrong.
what i would do to center the blog card is remove all margins on it and remove any positioning done by position:absolute or anything similar to it. then I would add the following 3 lines of code to the body element
body {display: grid; place-items: center; min-height : 100vh}
Pretty self explanatory, min-height is used to set a height so that it will be able to center the element vertically
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