Last active
November 17, 2020 14:59
-
-
Save devzom/6b037a1e219b0e233f34fbc639fc6f49 to your computer and use it in GitHub Desktop.
CSS: debugging -> debug attribute for html element with overlays
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
/*! debug.css | MIT License | | |
Jakub Zomerfeld | |
/* Instruction: | |
just add an 'debug' attribute to main html element ex. | |
<div id="#app" debug> | |
</div> | |
*/ | |
[debug], [debug] *:not(g):not(path) { | |
color: hsla(210, 100%, 100%, 0.9) !important; | |
background: hsla(210, 100%, 50%, 0.5) !important; | |
outline: solid 0.25rem hsla(210, 100%, 100%, 0.5) !important; | |
box-shadow: none !important; | |
filter: none !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment