Design comparison
Community feedback
- @RanitManikPosted 5 months ago
To enhance the card design challenge implementation, please address the following points:
-
Card Shadow on Hover: Ensure that the shadow of the card grows on hover as specified. You can refer to the active state file in your project's design directory for reference.
-
Unit Choice for Styling: Use
rem
instead ofpx
for properties like width, height, margin, padding, and font-size to achieve better scalability and responsiveness. For instance, the following CSS demonstrates how to userem
units effectively:/* Use rem for Better Scalability */ .container { font-size: 1rem; /* Equivalent to 16px */ width: 57.4375rem; /* Equivalent to 919px */ height: 31.3125rem; /* Equivalent to 501px */ }
Hope it helps
Marked as helpful0@LucasNgTgPosted 5 months ago@RanitManik Thank you for the feedback! Hadn't even noticed the shadow changing in the picture.
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