Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reference</title>
<style>
#clamp-and-columns {
columns: 3;
background-color: yellow;
}
p {
margin: 0;
}
</style>
<div id="clamp-and-columns">
<!-- First column -->
<p>Line 1</p>
<p>Line 2</p>
<p>Line 3</p>
<!-- Second column -->
<p>Line 4</p>
<p>Line 5</p>
<p>Line 6</p>
<!-- Third column -->
<p>Line 7</p>
<p>Line 8</p>
<p>Line 9</p>
</div>