зеркало из https://github.com/mozilla/pjs.git
24 строки
374 B
HTML
24 строки
374 B
HTML
<html>
|
|
<head>
|
|
<style>
|
|
#div1 {
|
|
background: green;
|
|
height: 100px;
|
|
width: 100px;
|
|
}
|
|
span {
|
|
background: yellow;
|
|
}
|
|
#div1 span {-moz-transform: translate(20px, 150px);
|
|
-moz-transform-origin: 0% 0%;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="div1">
|
|
<span>span 1</span>
|
|
</div>
|
|
<span>span 2</span>
|
|
</body>
|
|
</html>
|