0Pricing
Frontend Academy · Lesson

Positioning: relative absolute fixed sticky

Pull elements out of normal flow with position values to overlay content, fix headers, and create sticky sidebars.

Normal Document Flow

By default, elements follow normal document flow: block elements stack vertically, inline elements flow horizontally within text. The position property lets you step outside this flow for overlays, fixed headers, and tooltips.

position: static (Default)

Every element starts with position: static. This means it's positioned by normal document flow. The top, right, bottom, and left properties have no effect on static elements.

All lessons in this course

  1. Selectors and the Cascade
  2. Colors Typography and the Box Model
  3. Display: block inline flex grid basics
  4. Positioning: relative absolute fixed sticky
← Back to Frontend Academy