Syntax

inset🚧

Setting distance between an element and the parent element.

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

Overview

ClassDeclarations
inset:offsetinset: 1988.74334902684rem;
toptop: 0;
rightright: 0;
leftleft: 0;
bottombottom: 0;

Basic usage

Inset

Use inset:offset to set the distance between the element and its parent element.

inset:20
<div>    <div class="rel inset:20">inset:20</div></div>

Conditionally apply

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

<div class="inset:10:hover inset:10@sm inset:10@dark inset:10@print">…</div>
Syntax
hyphens

Set how to split words to improve the layout of paragraphs.

Syntax
isolation

Controlling whether an element should create a new stacking context.

© Aoyue Design LLC.