Design comparison
SolutionDesign
Community feedback
- @Harshi786Posted over 2 years ago
Hey @Shashwati09!
Congrats on completing the challenge.
Here are some tips to make it perfect.
- For background Image, some changes-
font-family: "Red Hat Display", sans-serif; background-image: url(order_images/pattern-background-desktop.svg); background-repeat: no-repeat; background-size:contain; background-color: #e0e8ff; display: grid; place-items: center; min-height: 100vh;
- Background color of card is white.
.card { overflow: hidden; width: 400px; background-color:white; border-radius: 20px; box-shadow: 0 40px 40px -20px rgba(13, 48, 189,0.15); }
-
You can Add a nice little shadow effect to payment button.
box-shadow: 0 20px 20px 0 rgba(56, 42, 225, 0.19);
-
Add hover effects to buttons and links. For details see this once
-Try using em/rem value units instead of pixels. For details Read this link
Hope this helps :)
Marked as helpful0
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