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.
739 B · 45 lines
CSS
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546/*
BACKGROUND POSITION
Base: bg = background
Modifiers: -center = center center -top = top center -right = center right -bottom = bottom center -left = center left
Media Query Extensions: -p = print
*/
@media print { .bg-center-p { background-repeat: no-repeat; background-position: center center; }
.bg-top-p { background-repeat: no-repeat; background-position: top center; }
.bg-right-p { background-repeat: no-repeat; background-position: center right; }
.bg-bottom-p { background-repeat: no-repeat; background-position: bottom center; }
.bg-left-p { background-repeat: no-repeat; background-position: center left; }}