blob: 563c838059d2c0a705195bce4f2a9d63a680ca8c [file] [log] [blame]
<!DOCTYPE html>
<!--
| One should be able to specify transform functions via scale functions.
| A two time scaled green square is contiguous to a red square.
-->
<html>
<head>
<style>
.container {
position: absolute;
}
.redSquare {
background-color: red;
left: 0;
top : 0;
width: 100px;
height: 100px;
}
.greenSquare {
transform: scale(2);
transform-origin: 0 0;
left: 100px;
top :100px;
width: 100px;
height: 100px;
background-color: green;
position: absolute;
}
</style>
</head>
<body>
<div class="container">
<div class="redSquare"></div>
<div class="greenSquare"></div>
</div>
</body>
</html>