Home › CSS Tutorial › Multiple columns
Multiple columns
Flow text like a newspaper.
Use column-count or column-width, plus column-gap and column-rule.
Example code
<style>div{column-count:3;column-gap:20px;column-rule:1px solid #888}</style>
<div>Text can flow across several columns automatically. This is useful for long articles on wide screens, where one very long line is hard to read.</div>