mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
1d07191eed
--HG-- extra : rebase_source : 565cbebb5a7db17949a34cd41c9f0018db781caf
34 lines
434 B
HTML
34 lines
434 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
div {
|
|
position:relative;
|
|
width:300px;
|
|
height:200px;
|
|
left:50px;
|
|
top:50px;
|
|
transform-style:preserve-3d;
|
|
}
|
|
.grandparentdiv {
|
|
background:yellow;
|
|
overflow:hidden;
|
|
}
|
|
.childdiv {
|
|
background:green;
|
|
}
|
|
.grandchilddiv {
|
|
background:red;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="grandparentdiv">
|
|
<div class="childdiv">
|
|
<div class="grandchilddiv"></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|