blob: 0658f7968289c3fc098c53cc742b6af619a6bb1f [file] [log] [blame]
<style>
body {
height: 2000px;
}
div {
width: 300px;
height: 300px;
background-color: green;
}
.container {
overflow: hidden;
opacity: 0.9;
}
.absolute {
position: absolute;
left: 200px;
top: 100px;
background-color: blue;
will-change: transform;
}
</style>
<div class=container><div class=fixed></div><div class=absolute></div></div>