Position

Use these helpers for quickly configuring the position of an element.

On this page

Fixed top

Position an element at the top of the viewport, from edge to edge.

Be sure you understand the ramifications of fixed position in your project; you may need to add additional CSS.

vue

Fixed bottom

Position an element at the bottom of the viewport, from edge to edge.

Be sure you understand the ramifications of fixed position in your project; you may need to add additional CSS.

vue

Sticky top

Position an element at the top of the viewport, from edge to edge, but only after you scroll past it.

The sticky-top, value uses CSS's position: sticky, which isn't fully supported in all browsers.

vue

Responsive sticky top

Responsive variations also exist for sticky-top utility.

vue
On this page