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

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

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

php - Get uncommon values from two or more arrays -