← Back to Glossary

position

Display & Positioning

Specifies coordinate layout positioning rules, allowing relative offsets or absolute layering bounds.

Common Value Formats

  • position: static; Default normal flow layout
  • position: relative; Normal layout flow but offsets function
  • position: absolute; Decoupled from flow, matches positioned parent
  • position: fixed; Locked relative to screen viewport
  • position: sticky; Sticky flow coordinate lock boundary
interactive-example.html
Live Preview