Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/lowmess/tachyons-custom-print.
tachyons tachyons-css tachyons-custom
Something went wrong. Try again.
1.1 kB · 53 lines
CSS
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354/*
COORDINATES Docs: http://tachyons.io/docs/layout/position/
Use in combination with the position module.
Base: top bottom right left
Modifiers: -0 = literal value 0 -1 = literal value 1 -2 = literal value 2 --1 = literal value -1 --2 = literal value -2
Media Query Extensions: -p = print
*/
@media print { .top-0-p { top: 0; } .left-0-p { left: 0; } .right-0-p { right: 0; } .bottom-0-p { bottom: 0; } .top-1-p { top: 1rem; } .left-1-p { left: 1rem; } .right-1-p { right: 1rem; } .bottom-1-p { bottom: 1rem; } .top-2-p { top: 2rem; } .left-2-p { left: 2rem; } .right-2-p { right: 2rem; } .bottom-2-p { bottom: 2rem; } .top--1-p { top: -1rem; } .right--1-p { right: -1rem; } .bottom--1-p { bottom: -1rem; } .left--1-p { left: -1rem; } .top--2-p { top: -2rem; } .right--2-p { right: -2rem; } .bottom--2-p { bottom: -2rem; } .left--2-p { left: -2rem; } .absolute--fill-p { top: 0; right: 0; bottom: 0; left: 0; }}