responsive
Sugar over media("print", input).
import { print } from "@sdxc/u/responsive";Quick reference
Every documented call, beside the CSS it emits.
| Call | CSS |
|---|---|
u.print(u.hidden()) | css({ "@media print": { display: "none" } }) |
Using a custom value
Every scale argument also takes a raw CSS value, which passes through untouched.
u.print(u.hidden())Applying on a state
Wrap the call in a state utility to scope it to one selector.
u.hover(u.print(u.hidden()))Signature
u.print(input: UtilityInput<Node>)