File: overflow.html

package info (click to toggle)
node-playwright 1.38.0%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 32,728 kB
  • sloc: javascript: 114,018; sh: 899; java: 372; xml: 247; cs: 118; python: 29; makefile: 12
file content (22 lines) | stat: -rw-r--r-- 447 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<style>
body { margin: 0; padding: 0; }

div {
  display: inline-flex;
  width: 50px;
  height: 50px;
  border-right: 1px solid black;
  border-bottom: 1px solid black;
}
</style>
  
<body></body>

<script>
const colors = ['#222', '#444', '#666', '#888', '#aaa'];
for (let i = 0; i < 200; ++i) {
  const div = document.createElement('div');
  div.style.setProperty('background-color', colors[i % 5]);
  document.body.appendChild(div);
}
</script>