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;
padding: 0 4px;
background-color: yellow;
}
.float {
float: left;
width: 50px;
height: 75px;
margin: 4px;
background-color: skyblue;
}
.pre {
white-space: pre;
}
</style>
<div class="clamp">
<div class="pre">Line 1
Line 2
Line 3</div>
<div class="float"></div>
<div class="pre">Line 4…</div>
</div>