blob: 63ee187547ef8975570111f77b5c0fd60a2a6f95 (
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
|
<!DOCTYPE html>
<html><head>
<title>CSS Test (Transforms): Transform of Background Image (rotate right)</title>
<link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor">
<link href="http://www.w3.org/TR/css-transforms-1/#transform-property" rel="help">
<link href="mailto:dschulze@adobe.com" rel="reviewer" title="Dirk Schulze"> <!-- 2012-04-17 -->
<meta content="Background images fall within the element's
border box, so they need to be transformed along with it." name="assert">
<meta content="svg" name="flags">
<link href="reference/transform-background-ref-1.htm" rel="match">
<style>
div {
width: 100px;
height: 200px;
background: url(support/transform-triangle-left.svg);
transform: translate(50px, -50px) rotate(90deg);
}
</style>
</head>
<body>
<div></div>
</body></html>
|