Design comparison
SolutionDesign
Solution retrospective
feedback is welcome
Community feedback
- @rohitKumar38344Posted over 2 years ago
- Remove the test div it's unnecessary placed in the solution.
- Remove the
display: flex
property from main it's not necessary - Use vw instead of px to apply background image with respect to viewport
body { background: url("images/bg-pattern-top.svg"),url("images/bg-pattern-bottom.svg"); *** background-position: top -66vw left -46vw, bottom -76vw right -38vw; *** background-repeat: no-repeat; background-size: cover; background-color: var(--cyan); background-blend-mode: overlay; display: flex; height: 100vh; justify-content: center; align-items: center; font-family: 'Kumbh Sans', sans-serif; }
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