Skip to content

Instantly share code, notes, and snippets.

@rosnovsky
Created September 4, 2019 18:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rosnovsky/3fe89f6284c37bb5da949f558b7a1988 to your computer and use it in GitHub Desktop.
Save rosnovsky/3fe89f6284c37bb5da949f558b7a1988 to your computer and use it in GitHub Desktop.
CSS blocks backgrounds colorized
* { 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