Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reference</title>
<style>
.parent {
padding: 0 4px;
background-color: yellow;
}
.clamp {
font: 16px / 32px serif;
white-space: pre-wrap;
width: 200px;
}
.float {
float: left;
width: 300px;
background-color: orange;
}
</style>
<div class="parent">
<div class="clamp">Line 1
Line 2
Line 3
<div class="float">Float</div>Line 4…</div>
</div>