Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reference</title>
<style>
.clamp {
display: flow-root;
font: 16px / 32px serif;
background-color: yellow;
}
.clamp > div {
padding: 6px;
border: 2px solid black;
white-space: pre;
}
</style>
<div class="clamp">
<div>Line 1
Line 2
Line 3</div>
<div>Line 4
Line 5
Line 6…</div>
</div>