Design comparison
Solution retrospective
I still haven't mastered the z-index issue with the 'share button'. I would appreciate some help! Thank you!
Community feedback
- @pikapikamartPosted over 3 years ago
Hey, good work on this one. The layout is good and it resizes well when going in mobile.
Regarding your query, well I think you don't need to use
z-index
in here. But since you used it, the mobile state share button can't be unclicked right? Well that is because the footer overlay, the pop out one, it overlaps the share button. But since there is az-index
on your share button, you can just remove thez-index
in your.footer
and yourfooter-overlay
selector.This way, the pop up will not overlap the share button, it will be visible even when a user clicks on it in mobile view. Because the higher the z-index, the more it is prioritized right, so it hides them. But remove those that I mentioned, and the share button will appear ^^
0@KristaCallejaPosted over 3 years ago@pikamart Thank you so much! Your feedback was very helpful!
0 - @MojtabaMosaviPosted over 3 years ago
@Krista Calleja, Great job on responiveness, regarding the share icon on the mobile view I sugesst that you include the share icon in the class="footer__social-icons-overlay" and use some sort of modifier or a extra class plus some js to get the behavior.
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