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