I am trying to build a modal that darkens everything behind it. Unfortunately my solution is not darkening a below attribute that I am using for an underline. The below attribute adds a z-index of 20, while the modal doesn’t have an explicit z-index.
Hi mdgriffith,
I am trying to build a modal that darkens everything behind it. Unfortunately my solution is not darkening a below attribute that I am using for an underline. The below attribute adds a z-index of 20, while the modal doesn’t have an explicit z-index.
Here's a Ellie https://ellie-app.com/kBCDzS4Jytba1 to let you see what I mea!
Expected behavior The underline should be darkened under the modal like the texts are.
Versions