<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reference</title>
<style>
.clamp {
font: 16px / 32px serif;
padding: 4px;
white-space: pre;
background-color: yellow;
border: 2px solid black;
}
.inner {
background-color: skyblue;
height: 3lh;
padding: 4px;
border: 2px solid purple;
}
</style>
<div class="clamp">Line 1
Line 2<div class="inner">Line 3
Line 4…</div></div>
<p>Following content.</p>