Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Responsive Landing page using float framework

@deux-trios

Desktop design screenshot for the Blog preview card coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

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

geomydas 1,060

@geomydas

Posted

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 GitHub
Discord logo

Join 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