Created
September 4, 2019 16:19
-
-
Save brschwar/60522b5740c9cd799dcaf4540e57a827 to your computer and use it in GitHub Desktop.
Show Elements Boundaries With Colored Backgrounds
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
* { background-color: rgba(255,0,0,.2); } | |
* * { background-color: rgba(0,255,0,.2); } | |
* * * { background-color: rgba(0,0,255,.2); } | |
* * * * { background-color: rgba(255,0,255,.2); } | |
* * * * * { background-color: rgba(0,255,255,.2); } | |
* * * * * * { background-color: rgba(255,255,0,.2); } | |
* * * * * * * { background-color: rgba(255,0,0,.2); } | |
* * * * * * * * { background-color: rgba(0,255,0,.2); } | |
* * * * * * * * * { background-color: rgba(0,0,255,.2); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hack found here: https://dev.to/gajus/my-favorite-css-hack-32g3