Design comparison
SolutionDesign
Community feedback
- @justcoder42022Posted over 2 years ago
This comment was deleted over 2 years ago
0@AmanpreetSingh1995Posted over 2 years ago@justcoder42022 I open the design images in photoshop and use the rectangle tool to measure the padding and margin in between the components. As for the z-index on the main tag, I used it so it can be on top of everything. I have added background color to body tag.
0@AmanpreetSingh1995Posted over 2 years ago@justcoder42022 z-index works only on position absolute, relative, fixed, sticky, and flex items (elements that are direct children of display: flex elements). and by default, all elements' position is set to static.
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