20 lines
620 B
Plaintext
20 lines
620 B
Plaintext
<html style="height: 250%; width: 150%">
|
|
<head>
|
|
<style>
|
|
* { padding: 0; }
|
|
div { position: absolute; }
|
|
#scroll { top: 125%; }
|
|
#scrollable { top: 150%; overflow-y: scroll; overflow-x: scroll; height: 50px; width: 50px; position: relative; border: 1px solid black;}
|
|
#inner { top: 50%; }
|
|
</style>
|
|
</head>
|
|
<body style="height: 100%; width: 100%">
|
|
<div id="scroll" style = "top: 125%">scroll</div>
|
|
<div id="scrollable">
|
|
<div style="height: 200px; width: 200px; poistion: relative">
|
|
<div id="inner">inner</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |