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
Request path contains unescaped characters
Not Found
Not Found
Not Found

Submitted

cards by flexbox , responsive design

@omar-EL-Nbery

Desktop design screenshot for the 3-column preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

@AkoToSiJeromeEh

Posted

Hey ! Great work out there i just notice that you using margin :auto to center the card component but doesn't work as expected since there where missing properties that is min-height or height by add this on your main element the card component will properly align on center , you can see the changes when you zoom-in and zoom out and notice the card component behave on its position. that's all happy coding !!

you can use also display property that is grid or flex-box

main {
  width: 90%;
  margin: auto;
  padding: 2rem 0;
  min-height: 100vh;// add this
}

Marked as helpful

0

@omar-EL-Nbery

Posted

@AkoToSiJeromeEh thank you bro it's really helpful advice 👋

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