Four card feature section - Html and Css

Solution retrospective
• Any tips or tricks on how I can use less code
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Nova988
Hi,
Looks good but I can't see the full card when i preview the site on my laptop. You need to change the height : 100vh to min-height: 100vh on the main element. Your code is now fixed, so it won't adjust the height with the content in it.
Marked as helpful - Account deleted
Hi,
Your solution looks quite good,
I think in this case you can give all of the boxes one class since they looks the same and style all of them at once all together. Only the border would differ.
& to right less code I use scss instead of regular css, you should try it.
Marked as helpful
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