Skip to main content

Position

Utilities for controlling how an element is positioned in the document.

CSS Property:position
Classes:5

Position Classes

ClassCSS
staticposition: static;
fixedposition: fixed;
absoluteposition: absolute;
relativeposition: relative;
stickyposition: sticky;

Arbitrary Values

You can use arbitrary values with square bracket notation when you need a specific value not included in the default scale.

[position:sticky]

Responsive Variants

Apply position utilities at specific breakpoints using responsive prefixes.

BreakpointPrefixExample
640px+sm:sm:static
768px+md:md:static
1024px+lg:lg:static
1280px+xl:xl:static
1536px+2xl:2xl:static