Layout

Direction

Style syntax for setting the direction of text.

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

Overview [sr-only]

ClassDeclarations
direction:ltrdirection: ltr
direction:rtldirection: rtl
Animals

There are a wide variety of animals in the world, and each one has its own unique set of characteristics and habits.

<div class="direction:ltr">
<h3>Animals</h3>
<p>There are a wide variety of animals in the world …</p>
</div>

Basic usage

LTR

Use direction:ltr to set the text direction to left-to-right.

Animals

There are a wide variety of animals in the world, and each one has its own unique set of characteristics and habits.

<div class="direction:ltr">
<h3>Animals</h3>
<p>There are a wide variety of animals in the world …</p>
</div>

RTL

Use direction:rtl to set the text direction to right-to-left.

Animals

There are a wide variety of animals in the world, and each one has its own unique set of characteristics and habits.

<div class="direction:ltr">
<h3>Animals</h3>
<p>There are a wide variety of animals in the world …</p>
</div>

Conditionally apply

Apply styles in different states using selectors, media queries, etc.

<div class="direction:ltr:hover direction:ltr@sm direction:ltr@dark direction:ltr@print"></div>
PREVIOUS
Columns

Style syntax for setting the number of columns within the container.

NEXT
Display

Style syntax for controlling the element's inner and outer display types.

MIT License © Aoyue Design LLC.