Implement screen rotation in the UI.

This commit is contained in:
Simo Kinnunen
2014-05-09 18:18:37 +09:00
parent 912cccaf4b
commit 3058024d97
3 changed files with 161 additions and 40 deletions

View File

@@ -11,6 +11,9 @@ device-screen {
}
device-screen canvas {
-webkit-transition: -webkit-transform 250ms ease-in-out;
-webkit-transform-origin: 50% 50%;
-webkit-transform: rotate(0deg);
position: absolute;
margin: auto;
top: 0;