UNPKG

tachyons-white-space

Version:

Tachyons css module for setting white space across breakpoints.

34 lines (24 loc) 770 B
@custom-media --breakpoint-not-small screen and (min-width: 30em); @custom-media --breakpoint-medium screen and (min-width: 30em) and (max-width: 60em); @custom-media --breakpoint-large screen and (min-width: 60em); /* WHITE SPACE */ .ws-normal { white-space: normal; } .nowrap { white-space: nowrap; } .pre { white-space: pre; } @media (--breakpoint-not-small) { .ws-normal-ns { white-space: normal; } .nowrap-ns { white-space: nowrap; } .pre-ns { white-space: pre; } } @media (--breakpoint-medium) { .ws-normal-m { white-space: normal; } .nowrap-m { white-space: nowrap; } .pre-m { white-space: pre; } } @media (--breakpoint-large) { .ws-normal-l { white-space: normal; } .nowrap-l { white-space: nowrap; } .pre-l { white-space: pre; } }