Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-transforms/scrollable-hidden-3d-transform-z.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="author" title="Seokho Song" href="mailto:0xdevssh@gmail.com">
<link rel="match" href="scrollable-hidden-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: hidden;
}
</style>
<div id="container">
<div id="scroller">
<div style="height: 300px"></div>
</div>
</div>