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