Source code
Revision control
Copy as Markdown
Other Tools
<!doctype html>
<meta charset="utf-8">
<title>CSS Test Reference</title>
<style>
.clamp {
display: flex;
font: 16px / 32px serif;
white-space: pre;
background-color: yellow;
padding: 0 4px;
justify-content: center;
}
</style>
<div class="clamp">Line 1
Line 2
Line 3
Line 4
Line 5</div>