Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>CSS Overflow: test reference</title>
<style>
.clamp {
background-color: yellow;
height: 3.5lh;
}
p {
margin: 0;
}
</style>
<div class="clamp">
<p>Line 1</p>
<p>Line 2</p>
<div style="min-height: 3lh">Line 3</div>
<p>Line 4…</p>
</div>