Skip to content

Instantly share code, notes, and snippets.

@bboydflo
Last active December 2, 2019 14:16
Show Gist options
  • Save bboydflo/df190f44758236c3ce2f7f3dae300bd5 to your computer and use it in GitHub Desktop.
Save bboydflo/df190f44758236c3ce2f7f3dae300bd5 to your computer and use it in GitHub Desktop.
[Most useful css hack] debugging css #css #webdev
/* https://www.quora.com/What-are-the-most-interesting-HTML-JS-DOM-CSS-hacks-that-most-web-developers-dont-know-about/answer/Gajus-Kuizinas */
/* https://dev.to/gajus/my-favorite-css-hack-32g3?utm_campaign=Alligator.io&utm_medium=email&utm_source=Revue%20newsletter */
* { 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