/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#opaque { position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; z-index: 1000; display: none; background-color: black; filter: alpha(opacity=30); opacity: 0.3; } * html #opaque { position: absolute; }
URL: http://www.electrictoolbox.com/grey-out-webpage/