CSS Hide Background

I just found this css snippet to somewhat like disabling the elements behind if a dialog box appears.

/* Enables to disable elements behind */
.somethingDialogUnderlayWrapper {
position: absolute;
left: 0px;
top: 0px;
z-index: 998;
display: none;
background: transparent;
}

/* colors to a disabled-color */
.somethingDialogUnderlay {
background: #eeeeee;
opacity: 0.5;
}

Comments

Popular posts from this blog

LVM: How to remove a volume using pvremove

Using Oracle 11g thru VirtualBox appliance in Mac OS X Lion

Use Shell Editor for Eclipse for editing bash, ksh, csh in Unix/Linux system