Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<title>CSS Transforms Test: transform property with rotate function and one parameter</title>
<link rel="author" title="Ji Kai" href="mailto:7jikai@gmail.com">
<link rel="reviewer" title="Dayang Shen" href="mailto:shendayang@baidu.com"> <!-- 2013-09-04 -->
<link rel="match" href="reference/transforms-rotateY-degree-60-ref.html">
<style>
div {
position: absolute;
top: 100px;
left: 100px;
height: 100px;
width: 100px;
}
.transformed {
background-color: white;
transform: rotateY(60deg);
}
.back {
background-color: green;
}
</style>
</head>
<body>
<p>The test passes if there are two green rectangles.</p>
<div class="back"></div>
<div class="transformed"></div>
</body>
</html>