--- layout: docs title: Position description: Use these helpers for quickly configuring the position of an element. group: helpers toc: true --- ## 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. ```html
...
``` ## 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. ```html
...
``` ## Sticky top Position an element at the top of the viewport, from edge to edge, but only after you scroll past it. ```html
...
``` ## Responsive sticky top Responsive variations also exist for `.sticky-top` utility. ```html
Stick to the top on viewports sized SM (small) or wider
Stick to the top on viewports sized MD (medium) or wider
Stick to the top on viewports sized LG (large) or wider
Stick to the top on viewports sized XL (extra-large) or wider
Stick to the top on viewports sized XXL (extra-extra-large) or wider
``` ## Sticky bottom Position an element at the bottom of the viewport, from edge to edge, but only after you scroll past it. ```html
...
``` ## Responsive sticky bottom Responsive variations also exist for `.sticky-bottom` utility. ```html
Stick to the bottom on viewports sized SM (small) or wider
Stick to the bottom on viewports sized MD (medium) or wider
Stick to the bottom on viewports sized LG (large) or wider
Stick to the bottom on viewports sized XL (extra-large) or wider
Stick to the bottom on viewports sized XXL (extra-extra-large) or wider
```