語法
文字大小text-size
Style utility for setting the font size with a golden-ratio line height.
Overview
Class | Declarations |
---|---|
text:size | font-size: size/16rem;
line-height: calc(size/16rem + 0.875em);
|
Conditionally apply
Apply styles based on different states using selectors and applying conditionally.
<div class="text:40:hover text:40@sm text:40@dark text:40@print">…</div>