Get a CSS Killswitch Effect With Only One Line of Code
I recently came across a site on Twitter called CSS Killswitch. What is it exactly? According to their site: “CSS Killswitch lets you non-destructively black out a difficult client’s website with the click of a button.”
The Code
If you try out their “two second demo” you’ll see all it basically does it make your page go completely blank. You can accomplish pretty much the same thing by placing the following bit of CSS code in your stylesheet.
* { display: none; }
If you notice anything still visible, you probably have some !important things you need to take care of as well.
15
Jun
2011











