Submitted almost 2 years ago
3-column preview card component
@iamzaidmohammed
Design comparison
SolutionDesign
Solution retrospective
For some reason I can't center the div on mobile screens. Feedbacks are welcomed. Thanks in advanced.
Community feedback
- @HassiaiPosted almost 2 years ago
To center a content on a page, add min-height:100vh; to the body and remove the height value.
There is no need to give .container a height value , instead give it padding top and bottom value.
Use rem or em as unit for the padding , margin, width and preferably rem for the font-size for more on this watch this https://youtu.be/N5wpD9Ov_To Hope am helpful HAPPY CODING
1@iamzaidmohammedPosted almost 2 years ago@Hassiai thanks for the feedback. I’ll make sure to do that
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