concept
normal-flow — CSS reference
Normal flow places boxes according to their formatting context rather than explicit coordinates. In ordinary block flow siblings progress in the block direction; inline content fills lines in the inline direction. Relative offsets do not remove the original flow slot. Floats and absolutely positioned boxes are out of flow, but floats still influence surrounding line layout.
Formal Syntax & Structure
css syntaxcss
Ordinary in-flow block and inline layout (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}#a,#b{width:70px;height:30px}#a{position:relative;top:10px}</style><body><div id="p"><div class="tile" id="a">First</div><div class="tile" id="b">Second</div></div></body></html>