summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/white-space/text-wrap-balance-line-clamp-001.html
blob: f104a5261bc9837ad0f9af675ba44de28421b824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-text-4/#valdef-text-wrap-balance">
<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>