Problem Statement
What does the z-index property control?
Explanation
z-index determines the stacking order of positioned elements. Elements with a higher z-index appear above those with a lower value, but it works only on elements with a position other than static.
Code Solution
SolutionRead Only
.modal { position: absolute; z-index: 999; }