blob: 47f195db56f4abf9309efb1f11fe1734fb0a5f27 [file] [log] [blame]
<!DOCTYPE html>
<html>
<!--
| Apply transform to overflow scroll.
| Results should be similar to overflow hidden.
| https://www.w3.org/TR/CSS21/visufx.html
-->
<head>
<style>
body {
font-family: Roboto;
font-size: 16px;
}
.transform {
width: 550px;
height: 20px;
overflow: scroll;
background-color: rgb(0, 128, 128);
transform: translateX(50px) translateY(50px) rotate(7deg);
}
</style>
</head>
<body>
<div class="transform">
<div> Apply transform to overflow scroll. </div>
<div> This line is invisible. </div>
</div>
</body>
</html>