concept

out-of-flow — CSS reference

A float or absolutely positioned box is removed from ordinary in-flow placement. Floats continue to influence line wrapping and may contribute to the height of a containing BFC; absolute positioning normally reserves no sibling layout space.

Formal Syntax & Structure

css syntaxcss
Float or absolutely positioned box (concept).

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS flow layout lab</title><style>body {margin:0} .sample {background:#dcebe9;color:#182e32}body{font:16px/20px sans-serif} #p{width:240px;background:#e6eef2} .tile{background:#c2e4d5} #a,#b{box-sizing:content-box}#p{position:relative}#a{position:absolute;width:70px;height:30px;top:40px}#b{height:20px}</style><body><div id="p"><div class="tile" id="a">First</div><div class="tile" id="b">Second</div></div></body></html>
CSS Reference