Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<head>
<title>Animating both the "scale" and "rotate" property</title>
<style>
#target {
position: absolute;
width: 100px;
height: 100px;
background-color: black;
transform-origin: bottom left;
rotate: 90deg;
}
</style>
</head>
<body>
<div id="target"></div>
</body>
</html>