Skip to content

Instantly share code, notes, and snippets.

@heyayush
Last active September 8, 2019 06:15
Show Gist options
  • Save heyayush/7f468e14eaa38a4340e316cda125bcb8 to your computer and use it in GitHub Desktop.
Save heyayush/7f468e14eaa38a4340e316cda125bcb8 to your computer and use it in GitHub Desktop.
CSS hack to see boundaries of layout
* { 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