Created
October 14, 2011 07:29
-
-
Save LeoDT/1286471 to your computer and use it in GitHub Desktop.
hide div without id or class
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div{ | |
display:none; | |
} | |
div[id],div[class]{ | |
display:block; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, thanks for this! Was really useful in blocking an annoying inline advert, just chucked it in a Stylish script.