Skip to content

Instantly share code, notes, and snippets.

@kaseybon
Created August 28, 2014 13:59
Show Gist options
  • Save kaseybon/43daf6f937308052017f to your computer and use it in GitHub Desktop.
Save kaseybon/43daf6f937308052017f to your computer and use it in GitHub Desktop.
CSS - Quickly apply background colors to check a grid layout for alignment issues.
* { 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); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment