blob: 81ee79c21cd9f8861f67778830bc6688bf5fb273 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<!DOCTYPE html>
<html><head>
<title>CSS Test (Transforms): Default transform-origin not center right</title>
<link href="mailto:keith@keithschwarz.com" rel="author" title="Keith Schwarz">
<link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor">
<link href="http://www.w3.org/TR/css-transforms-1/#transform-origin-property" rel="help">
<meta content="A transform-origin of 100% 50% must not result
in the same rendering as the default of 50% 50%, if a 45-degree rotation is
applied." name="assert">
<link href="reference/transform-origin-ref-1.htm" rel="mismatch">
<style>
div {
width: 200px;
height: 100px;
border: 1px solid black;
transform: rotate(45deg);
transform-origin: 100% 50%;
}
</style>
</head>
<body>
<div>
Some text!
</div>
</body></html>
|