31 lines
572 B
HTML
31 lines
572 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
body {
|
|
height: 1000px;
|
|
}
|
|
.clipper {
|
|
margin: 20px;
|
|
padding: 10px;
|
|
width: 300px;
|
|
height: 300px;
|
|
overflow: hidden;
|
|
background-color: gray;
|
|
}
|
|
.content {
|
|
transform: translateZ(0);
|
|
background-color: green;
|
|
height: 300px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="clipper">
|
|
<div class="content">
|
|
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|