blob: e8d0bc91440c7ed810079cc577d1e02689d3b220 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<!DOCTYPE html>
<title>CSS Overflow: overflow: scroll with resize: both and visibility: hidden</title>
<link rel="help" href="https://drafts.csswg.org/css-overflow-3#propdef-overflow">
<link rel="match" href="overflow-scroll-resize-visibility-hidden-ref.html">
<style>
.scroller {
overflow: scroll;
width: 100px;
height: 100px;
resize: both;
visibility: hidden;
}
.content {
width: 1000px;
height: 1000px;
background: green;
visibility: visible;
}
</style>
<div class="scroller">
<div class="content"></div>
</div>
<div class="scroller" style="will-change: transform">
<div class="content"></div>
</div>
|