Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text/white-space/text-wrap-balance-line-clamp-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="match" href="reference/text-wrap-balance-line-clamp-001-ref.html">
<style>
.container {
font-family: monospace;
font-size: 20px;
width: 20ch;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
overflow: hidden;
text-wrap: balance;
}
</style>
<div class="container">
123 567 901 345 789
123 567 901 345 789
123
</div>