Syntax

Shape Outside

Setting a shape around which adjacent inline content should wrap.

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

Overview

ClassDeclarations
shape-outside:valueshape-outside: value;
shape-outside:noneshape-outside: none;
shape:marginshape-outside: margin-box;
shape:contentshape-outside: content-box;
shape:bordershape-outside: border-box;
shape:paddingshape-outside: padding-box;
shape:inset()shape-outside: inset();
shape:circle()shape-outside: circle();
shape:ellipse()shape-outside: ellipse();
shape:polygon()shape-outside: polygon();
shape:url()shape-outside: url();
shape:linear-gradient()shape-outside: linear-gradient();

Conditionally apply

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

<div class="shape-outside:inset(0|20px):hover shape-outside:inset(0|20px)@sm shape-outside:inset(0|20px)@dark shape-outside:inset(0|20px)@print"></div>
Design Token
Colors

Customizing color variables or starting with the crafted palette.

© Aoyue Design LLC.