зеркало из https://github.com/mozilla/gecko-dev.git
31 строка
406 B
HTML
31 строка
406 B
HTML
<!doctype html>
|
|
<html>
|
|
<body>
|
|
<style>
|
|
body
|
|
{
|
|
transform-style: preserve-3d;
|
|
}
|
|
.absolute
|
|
{
|
|
position: absolute;
|
|
width: 100px;
|
|
height: 100px;
|
|
transform: translateX(0%);
|
|
background-color: red;
|
|
}
|
|
.relative
|
|
{
|
|
position: relative;
|
|
background-color: green;
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
</style>
|
|
<div>
|
|
<div class="absolute"></div>
|
|
<div class="relative"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|