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;
width: 500px;
}
.max-height {
max-height: 1lh;
text-align: right;
}
</style>
<div class="clamp">
<div class="max-height">
Line 1 <br>
Line 2 <br>
Line 3
</div>
Line B…
</div>