Syntax

padding🚧

Setting the padding area on all four sides of an element.

🚧This page is still under construction and some content may not be complete.

Overview

ClassDeclarations
pt:sizepadding-top: size/16rem;
pb:sizepadding-bottom: size/16rem;
pl:sizepadding-left: size/16rem;
pr:sizepadding-right: size/16rem;
p:sizepadding: size/16rem;
px:sizepadding-left: size/16rem; padding-right: size/16rem;
py:sizepadding-top: size/16rem; padding-bottom: size/16rem;

Conditionally apply

Apply styles based on different states using selectors and applying conditionally.

<div class="p:10:hover p:10@sm p:10@dark p:10@print">…</div>
Syntax
overscroll-behavior

Setting what a browser does when reaching the boundary of a scrolling area.

Syntax
place-content

Setting align-content and justify-content at the same time.

© Aoyue Design LLC.