Sign-up Pop-up
HTML / CSS
20 pts
Sign-up Pop-up
Build a pop-up for the diving school. The header already has z-index: 50, and the pop-up must cover it.
.overlay:position: fixed,top: 0,left: 0,width: 100%,height: 100%andz-index: 100..modal:position: fixed,top: 80px,left: 40pxandz-index: 101, so it sits above the dark overlay.
Checklist
- Make the dark overlay cover the whole window.
- Put the overlay above the header.
- Fix the modal above the overlay.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
