Skip to content

Instantly share code, notes, and snippets.

@mrmrs
Created March 7, 2014 22:31
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 mrmrs/9421565 to your computer and use it in GitHub Desktop.
Save mrmrs/9421565 to your computer and use it in GitHub Desktop.
Ideal z-index scale
/* z-index is hard. Save yourself by using this easy to understand scale */
z-index: -100000;
z-index: -1;
z-index: 0;
z-index: 1;
z-index: 2;
z-index: 3;
z-index: 6;
z-index: 9;
z-index: 10 ;
z-index: 10;
z-index: 11;
z-index: 20;
z-index: 99;
z-index: 100;
z-index: 101;
z-index: 102;
z-index: 103;
z-index: 109;
z-index: 110;
z-index: 111;
z-index: 200;
z-index: 999;
z-index: 1000;
z-index: 1001;
z-index: 9999;
z-index: 10000;
z-index: 10001;
z-index: 10011;
z-index: 100001;
z-index: 100002;
z-index: 100003;
z-index: 100005;
z-index: 100011;
z-index: 100015;
z-index: 100100;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment