Web.QHMIT
.com
Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
Run
<!doctype html> <title>Example</title> <style> .multicol { font-family: sans-serif; width: 360px; background: beige; padding: 10px; -webkit-column-count: 3; /* Safari and Chrome */ -moz-column-count: 3; /* Firefox */ column-count: 3; /* CSS3 */ } </style> <div class="multicol"> <h3>Column-Count Example</h3> <p>If your browser supports the column-count property, this text should span across three different columns. If it doesn't, then it will only span one long column. </p> <p>Try changing the numbers to see how it affects the number of columns. Add more text if you need to.</p> </div>
Preview