Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!doctype html> <title>Example</title> <style> .multicol { background: beige; padding: 10px; -webkit-columns: 3; /* Safari and Chrome */ -moz-columns: 3; /* Firefox */ columns: 3; /* CSS3 */ } </style> <div class="multicol"> <h3>Columns Example</h3> <p>The CSS columns property is a shorthand property for setting multiple column-related properties in one place. Specifically, it sets the column-width and column-count properties.</p> <p>This is an efficient way of coding your multi-column layouts.</p> <p>Try changing the values to see the effect it has on this example.</p> </div>