mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 04:53:19 +02:00
Transition for resizing was being overriden by rotation transition.
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
device-screen canvas {
|
||||
transition: width 100ms linear;
|
||||
-ms-transform: width 100ms linear;
|
||||
-webkit-transform: width 100ms linear;
|
||||
transition: width 100ms linear, -webkit-transform 250ms ease-in-out;
|
||||
-webkit-transform-origin: 50% 50%;
|
||||
transform-origin: 50% 50%;
|
||||
-webkit-transform: width, rotate(0deg);
|
||||
transform: width, rotate(0deg);
|
||||
}
|
||||
|
||||
device-screen {
|
||||
@@ -11,9 +13,6 @@ 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;
|
||||
|
||||
Reference in New Issue
Block a user