z-index issue with greyed out layer
I have craeted a greyed out layer that sites above the website when called, and inside that I have another div, and its this div that is confusing me.
I am using z-index to try and get the inner div to not adopt the alpha transpareny of its parent div, and its just not working.
Here is the css:
Here is the html:
Its working fine and appearing when i want it too, but the warning div adopts the transparency of cover and the effect isnt right, as i wont warning to be a solid colour.