PositioningLeft

Left

Control the left placement of positioned elements.

Widely available

This feature is well established and works across many devices and browser versions.

Chrome
Edge
Firefox
Safari

Usage

<div class="p-r d-18 sm:d-32 c-white">
<div class="p-a i-0 b-1"></div>
<div class="p-a t-0 l-0 d-f d-12 ai-c jc-c bg-indigo p-4">A</div>
</div>

Responsive Design

Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.

Target viewport sizes with breakpoint prefixes.

sm:l-[value]
Small640px
md:l-[value]
Medium768px
lg:l-[value]
Large1024px
xxl:l-[value]
Extra Large1536px

Hover State

Apply styles conditionally on hover using the h: prefix.

Add the h: prefix to apply styles only when the user hovers over the element.

Syntax:h:l-[value]