blob: cd75725896cfe8690614ebb9893869006d4772d1 [file] [log] [blame]
<!DOCTYPE html>
<html>
<!--
| Apply transform 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: hidden;
background-color: rgb(0, 128, 128);
transform: translateX(50px) translateY(50px) rotate(7deg);
}
</style>
</head>
<body>
<div class="transform">
<div> Apply transform to overflow hidden. </div>
<div> This line is invisible. </div>
</div>
</body>
</html>