Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<link rel="author" title="Seokho Song" href="mailto:0xdevssh@gmail.com">
<link rel="match" href="scrollable-scroll-3d-transform-z-ref.html">
<style>
#container {
width: 100px;
height: 100px;
background: green;
position: relative;
transform-style: preserve-3d;
}
#scroller {
width: 100px;
height: 100px;
background: red;
position: absolute;
transform: translateZ(-1px);
overflow-y: scroll;
}
</style>
<div id="container">
<div id="scroller">
<div style="height: 300px"></div>
</div>
</div>