PositioningClear

Clear

Controls moving elements under floating elements.

ClassStyle
cl-bclear: both;
cl-ieclear: inline-end;
cl-isclear: inline-start;
cl-lclear: left;
cl-noneclear: none;
cl-rclear: right;

None

Initial value

Allows the element to be positioned normally without clearing any floating elements.

<div class="bg-indigo d-32 fl-l rad-1"></div>
<div class="cl-none p-6" id="area"></div>

Both

Ensures that the element is moved below any floating elements on both sides.

<div class="bg-indigo d-32 fl-l rad-1"></div>
<div class="bg-indigo d-32 fl-r rad-1"></div>
<div class="cl-b p-6" id="area"></div>

Inline End

Ensures that the element is moved below any floating elements on the inline end side, which is typically the right side in left-to-right layouts.

<div class="bg-indigo d-32 fl-r rad-1"></div>
<div class="cl-ie p-6" id="area"></div>

Inline Start

Ensures that the element is moved below any floating elements on the inline start side, which is typically the left side in left-to-right layouts.

<div class="bg-indigo d-32 fl-l rad-1"></div>
<div class="cl-is p-6" id="area"></div>

Left

Ensures that the element is moved below any floating elements on the left side.

<div class="bg-indigo d-32 fl-l rad-1"></div>
<div class="cl-l p-6" id="area"></div>

Ensures that the element is moved below any floating elements on the right side.

<div class="bg-indigo d-32 fl-r rad-1"></div>
<div class="cl-r p-6" id="area"></div>

Using utility variants

Learn how to override existing utilities based on the user's screen size or other factors, such as hover states.

Using media queries

You can combine responsive breakpoints like sm:cl-*, md:cl-*, lg:cl-*, and xxl:cl-* to allow targeting specific utilities in different viewports.

Using hover states

Alternatively, you can apply :hover by using h:cl-* utility to override elements and change their values when hovering over them.