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

Blog preview card with HTML and CSS

P
Graeme Byrneโ€ข 520

@grmbyrn

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 did it quickly and I think it was accurate.

What challenges did you encounter, and how did you overcome them?

I only had to look up how to do box-shadow as I'd forgotten the name for it.

What specific areas of your project would you like help with?

I think it's okay but let me know if there's anything.

Community feedback

P
Koda๐Ÿ‘นโ€ข 3,830

@kodan96

Posted

hi there! ๐Ÿ‘‹

You can center your content with Flexbox if you apply these to the body tag:

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

Hope this was helpful ๐Ÿ™

Good luck and happy coding! ๐Ÿ™Œ

Marked as helpful

0

P
Graeme Byrneโ€ข 520

@grmbyrn

Posted

@kodan96 I always forgot this combination so that's really useful. Thanks a lot!

1

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