concept
Fragmentation context — CSS reference
An arrangement of fragmentainers through which a flow is distributed. Multicol establishes a column fragmentation context; paged media establishes a page context. This fixture observes only column fragmentation.
Formal Syntax & Structure
css syntaxcss
column-count: 2; height: 60px;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>Fragmentation context</title><style>body{margin:0}#a{padding:8px;background:rgb(232,237,241);color:rgb(0,0,0);box-sizing:border-box}#m{width:300px;height:60px;column-count:2;column-gap:20px;column-fill:auto;background:#eef2f7;color:#162b39}.item{height:20px;box-sizing:border-box;break-inside:avoid;background:#dbeafe;line-height:20px}</style><body><article id="m"><div id="t" style="height:100px;background:#dbeafe">A tall block</div></article></body></html>