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

HTML and Sass

Anthony 355

@ACdev27

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

Solution retrospective


What is best approach to dealing with how a website looks in mobile landscape views? Should it be standard practice to preview page in mobile landscape view (as you can with browser tools), and make sure everything looks right?

The design files for this challenged did not have a landscape view. Is it common to be given landscape views on real world projects as a guide?

For this project, the landscape views I previewed seemed to cut off the buttons in a way that did not look right. I ended up adding a media query for max-height that adjust things for landscape view.

Community feedback

Adarsh 1,560

@adram3l3ch

Posted

main { height: 100vh; display: flex; align-items: center; }

to center the cards

Marked as helpful

0

Anthony 355

@ACdev27

Posted

@adram3l3ch Thank you for your suggestions. I used your advice, and can see that it is a good way to vertically center the cards. That inspired me to better match the provided design, so I also adjusted my card size and padding in the card also.

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