Design comparison
Solution retrospective
hello everyone! I have a problem with a modal window that pops up when you click on the menu button: for some reason it does not cover the entire window, but only the head. How can this problem be solved?
Community feedback
- @DrougnovPosted almost 2 years ago
Hello @ilvdrskn, great job on completing this challenge.
As the .modal-menu is an absolute element and its parent .head doesn't have a defined height, it is only taking the head's initial height. To fix this, simply remove the
height: 100%
from the .modal-menu, and it will get the desired full height.Also, try to fix the accessibility warnings. If you need further help on this, feel free to ask or check out my solution. Have a good day :)
Marked as helpful1
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