blob: 023afb4cf526f06bea421ba5679b2fc3ceac630f (
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
26
27
|
<!DOCTYPE html>
<html>
<style>
#outer {
position: absolute;
overflow: scroll;
width: 90vw;
height: 90vh;
border: 1px solid black;
scrollbar-width: none;
}
#inner {
overflow-y: hidden;
width: 100%;
}
.spacer {
width: 60vw;
height: 5000px;
background-color: blue;
}
</style>
<div id="outer">
<div id="inner">
<div class="spacer"></div>
</div>
</div>
</html>
|