Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

_z-index.css 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. Z-INDEX
  3. Base
  4. z = z-index
  5. Modifiers
  6. -0 = literal value 0
  7. -1 = literal value 1
  8. -2 = literal value 2
  9. -3 = literal value 3
  10. -4 = literal value 4
  11. -5 = literal value 5
  12. -999 = literal value 999
  13. -9999 = literal value 9999
  14. -max = largest accepted z-index value as integer
  15. -inherit = string value inherit
  16. -initial = string value initial
  17. -unset = string value unset
  18. MDN: https://developer.mozilla.org/en/docs/Web/CSS/z-index
  19. Spec: http://www.w3.org/TR/CSS2/zindex.html
  20. Articles:
  21. https://philipwalton.com/articles/what-no-one-told-you-about-z-index/
  22. Tips on extending:
  23. There might be a time worth using negative z-index values.
  24. Or if you are using tachyons with another project, you might need to
  25. adjust these values to suit your needs.
  26. */
  27. .z-0 { z-index: 0; }
  28. .z-1 { z-index: 1; }
  29. .z-2 { z-index: 2; }
  30. .z-3 { z-index: 3; }
  31. .z-4 { z-index: 4; }
  32. .z-5 { z-index: 5; }
  33. .z-999 { z-index: 999; }
  34. .z-9999 { z-index: 9999; }
  35. .z-max {
  36. z-index: 2147483647;
  37. }
  38. .z-inherit { z-index: inherit; }
  39. .z-initial { z-index: initial; }
  40. .z-unset { z-index: unset; }