Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Transforms Test Reference File</title>
<style>
#test {
background-color: green;
height: 50px;
margin: 50px;
width: 50px;
}
#container {
background-color: gray;
height: 150px;
position: absolute;
width: 150px;
}
</style>
<body>
<p>Test passes if there is a filled green square in the <strong>center</strong> of the gray square and no red.</p>
<div id="container"><div id="test"></div></div>
</body>