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 conditional queries.

<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>
Syntax
Shape Margin

Setting a margin for a CSS shape.

Syntax
Size

Style shorthand for setting the width and height of an element.

© Aoyue Design LLC.