blob: 0d18c2a7f55f4f071657ee3d3c4e610f7e8fb05b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reference</title>
<style>
.clamp {
display: block;
font: 16px / 32px monospace;
white-space: pre;
background-color: yellow;
}
.child {
overflow: hidden;
}
</style>
<div class="clamp"><div class="child">Line 1
Line 2
Line 3
Line 4
Line 5</div></div>
<p>Following content.</p>
|