Syntax
max-size
Style shorthand for setting the max-width and max-height of an element.
Overview
Class | Declarations |
---|---|
max:<size> | max-width: <size>/16rem;
max-height: <size>/16rem;
|
Apply conditionally
Apply styles based on different states using selectors and conditional queries.
<div class="max:32:hover max:32@sm max:32@dark max:32@print">…</div>