blob: 6de49fc5f087ac45e22ce3ee45cccfc45401205f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<html>
<head>
<style>
#div1 {
background: green;
height: 100px;
width: 100px;
}
span {
background: yellow;
}
#div1 div {-moz-transform: translate(20px, 150px);
-moz-transform-origin: 0% 0%;
}
</style>
</head>
<body>
<div id="div1">
<div><span>span 1</span></div>
</div>
<span>span 2</span>
</body>
</html>
|