Position property
The CSS position property specifies an element’s positioning scheme and how positional offsets affect its layout.
Web Design Playground, Second Edition
The CSS position property specifies the positioning scheme used to lay out an element.
- How it is used
- Breaks elements out of default page flow to control placement, scrolling behavior, and overlap.
- How deep it goes
- Defines all five values and offsets, then works through absolute ancestors and sticky thresholds without detailing every mode equally.
- Examples
- Uses sticky navigation links and absolutely positioned tooltips, spans, and nested strong elements.
- What you can do after
- Apply it via CSS to place elements, create sticky navigation, build tooltips, and layer overlaps with z-index.
Read how Web Design Playground, Second Edition explains position property →
Tiny CSS Projects
The CSS position property specifies how an element is positioned in the document layout.
- How it is used
- Uses positioning to layer and align the two faces of an interactive virtual credit card.
- How deep it goes
- Explains relative and absolute positioning, containing ancestors, normal-flow removal, sizing, and top-left offsets without surveying other position values.
- Examples
- Demonstrates stacked credit-card faces and a relatively repositioned drop cap.
- What you can do after
- Apply it via CSS to layer interface elements or fine-tune their placement relative to a container or surrounding text.
Also covered in
What to know first
- viewportA viewport is the visible region of a browser or graphical interface in which a document or other content is displayed.
- normal flowNormal flow is the browser’s ordinary layout process, arranging elements according to document order and their formatting behavior without out-of-flow positioning.
Related concepts
- offset propertyuses · A CSS offset property specifies an element’s distance from an edge of its positioning context.
- fixed positioningconfigures · Fixed positioning is a CSS positioning mode that places an element relative to the viewport or a fixed-position containing block, keeping it stationary as document content scrolls.
- sticky positioningconfigures · Sticky positioning is a CSS positioning mode in which an element remains in normal document flow until a specified offset threshold is reached, then stays constrained within its containing block as scrolling continues.
- HTML elementconfigures · An HTML element is a structural or semantic unit of an HTML document, defined by markup and represented in the document tree.
Questions about position property
What is position property?
The CSS position property specifies an element’s positioning scheme and how positional offsets affect its layout.
Which Manning books explain position property?
Web Design Playground, Second Edition and Tiny CSS Projects.
What should I know before learning position property?
Manning books that teach position property usually introduce viewport, CSS unit and normal flow first.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

