Design comparison
SolutionDesign
Solution retrospective
Hello 👋!
I am unable to figure out how to put refresh button (green button) on top of other div, I tried it using Z-index but it didn't work out. If someone can help me out there that would be great 😐.
Community feedback
- @Kl3vaPosted over 2 years ago
Z-index only work on positioned elements. To achieve what you’re asking; give the div a position absolute and it’s parent container a position relative, then use the top/right properties to move it towards the direction of your choice.
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