blob: 4ddfb1f6656b655135ff7665b4e50fb5bb6ca368 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.container {
border: 1px solid black;
margin: 30px;
padding: 50px;
width: 300px;
height: 300px;
overflow: visible;
box-shadow: black 0px 0px 20px;
transform: translateZ(0px);
box-sizing: border-box;
overflow: hidden;
}
.child {
width: 200px;
height: 200px;
background-color: green;
transform: translateZ(0);
}
</style>
</head>
<body>
<p>The green box should remain centered in the container</p>
<div class="container">
<div class="child">&nbsp;</div>
</div>
</body>
</html>