aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/html/css3-transform-rotateY.htm
blob: a97a64b50c1ff15b9e0f68bd60194267efc68fd8 (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
28
29
30
31
32
33
34
<!DOCTYPE html>
<html><head>
    <title>CSS Transforms Test: transform property with rotateY function</title>
    <link href="mailto:codedancerhua@gmail.com" rel="author" title="Noah Lu">
    <link href="http://www.w3.org/TR/css-transforms-1/#transform-property" rel="help">
    <link href="http://www.w3.org/TR/css-transforms-1/#funcdef-rotate" rel="help">
    <link href="reference/css3-transform-rotateY-ref.htm" rel="match">
    <meta content="box width should be equal to projection width if transform rotateY applied" name="assert"> 
    <style type="text/css">
    div {
        height: 100px;
        position: absolute;
        top: 80px;
    }
    .red {
        background-color: red;
        left: 80px;
        width: 100px;
    }
    .green{
        background-color: green;
        left: 30px;
        transform: rotateY(60deg);
        width: 200px;
    }
    </style>
</head>
<body>
    <p>The test passes if there is a green square and no red.</p>
    <div class="red"></div>
    <div class="green"></div>


</body></html>