Design comparison
SolutionDesign
Community feedback
- @correlucasPosted over 2 years ago
πΎHello Suraj Mourya, congratulations for your new solution!
I saw your preview site and I've some tips for you, for example, you can remove the
background-color
from the container and insert it to the body, give the container the right size thatsmax-width: 1110px
, and the alignment withflexbox
See the changes I did for your code here:
body { background-color: hsl(233, 47%, 7%); min-height: 100vh; display: flex; align-items: center; justify-content: center; } .main-card { /* background-color: hsl(233, 47%, 7%); */ display: flex; align-items: center; justify-content: center; color: white; /* width: 100vw; */ height: 100vh; max-width: 1110px; } .card { display: flex; /* max-width: 1110px; */ }
For the color purple overlay use
mix-blend-mode: multiply
π I hope this helps you and 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