Submitted almost 2 years ago
Three Column Preview Card Component
@LAGAxyz
Design comparison
SolutionDesign
Community feedback
- @HassiaiPosted almost 2 years ago
There is no need to give the main justify-content: center; align-items: center; just display: flex alone is enough.
Increase the width of .card to get the similar width in the design. eg: width:300px; and give it a height value of auto for a responsive content instead of a fixed height 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
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