css - Loading mask, that disables underlying html elements -


i want create loader mask page. need elements under mask not available. can click buttons. can see on image.

here css of mask:

div#mask { z-index:9999; display: none; width:100%; background-color: rgba(0,0,0,0.15); } 

it's div 100% width, , height of window. how fix ui block?

enter image description here

you haven't given this:

position: absolute; 

Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -