diff options
| author | Darin Dimitroff <d@thecrazyones.agency> | 2016-11-22 13:07:51 +0200 |
|---|---|---|
| committer | Darin Dimitroff <d@thecrazyones.agency> | 2016-11-22 13:07:51 +0200 |
| commit | dedfd8a8098db999f81a55a845e0e4d041f9d7a8 (patch) | |
| tree | a2b93f205083ba4f1c11c9e8f3b54c384cce1bc9 /src/css/imports/_z-index.css | |
| parent | 4b9c3e021037a5df04df7e8c804d979501c136ad (diff) | |
Adds Tachyons
Diffstat (limited to 'src/css/imports/_z-index.css')
| -rwxr-xr-x | src/css/imports/_z-index.css | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/css/imports/_z-index.css b/src/css/imports/_z-index.css new file mode 100755 index 0000000..9f4d863 --- /dev/null +++ b/src/css/imports/_z-index.css @@ -0,0 +1,53 @@ +/* + + Z-INDEX + + Base + z = z-index + + Modifiers + -0 = literal value 0 + -1 = literal value 1 + -2 = literal value 2 + -3 = literal value 3 + -4 = literal value 4 + -5 = literal value 5 + -999 = literal value 999 + -9999 = literal value 9999 + + -max = largest accepted z-index value as integer + + -inherit = string value inherit + -initial = string value initial + -unset = string value unset + + MDN: https://developer.mozilla.org/en/docs/Web/CSS/z-index + Spec: http://www.w3.org/TR/CSS2/zindex.html + Articles: + https://philipwalton.com/articles/what-no-one-told-you-about-z-index/ + + Tips on extending: + There might be a time worth using negative z-index values. + Or if you are using tachyons with another project, you might need to + adjust these values to suit your needs. + +*/ + +.z-0 { z-index: 0; } +.z-1 { z-index: 1; } +.z-2 { z-index: 2; } +.z-3 { z-index: 3; } +.z-4 { z-index: 4; } +.z-5 { z-index: 5; } + +.z-999 { z-index: 999; } +.z-9999 { z-index: 9999; } + +.z-max { + z-index: 2147483647; +} + +.z-inherit { z-index: inherit; } +.z-initial { z-index: initial; } +.z-unset { z-index: unset; } + |
