mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
* feat: add 3d rotation * chore: fix build errors * chore: fix tslint errors * chore: add @types/chai dev dep * chore: unused import cleanup * chore: update tests for x,y rotation * chore: rebase upstream/master * fix: iOS Affine Transform test verification * feat(css): Added optional css-tree parser (#8076) * feat(css): Added optional css-tree parser * test: css-tree parser compat tests * test: more css-tree compat tests * feat(dialogs): Setting the size of popup dialog thru dialog options (#8041) * Added iOS specific height and width attributes to ShowModalOptions * Set the height and width of the popup dialog to the presenting controller * dialog options ios attributes presentationStyle, height & width are made optional * Updated NativeScript.api.md for public API changes * Update with git properties * Public API * CLA update * fix: use iOS native-helper for 3d-rotate * test: Fix tests using _getTransformMismatchError * fix: view.__hasTransfrom not set updating properly * test: fix css-animations test page Co-authored-by: Alexander Vakrilov <alexander.vakrilov@gmail.com> Co-authored-by: Darin Dimitrov <darin.dimitrov@gmail.com> Co-authored-by: Shailesh Lolam <slolam@live.com> Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
76 lines
1.3 KiB
CSS
76 lines
1.3 KiB
CSS
.rotate-x {
|
|
rotateX: 60;
|
|
}
|
|
|
|
.rotate-y {
|
|
rotateY: 60;
|
|
}
|
|
|
|
.rotate-z {
|
|
rotate: 60;
|
|
}
|
|
|
|
.original {
|
|
transform: none;
|
|
}
|
|
|
|
.animate-x {
|
|
animation-name: rotateX;
|
|
animation-duration: 2s;
|
|
animation-fill-mode: forwards;
|
|
}
|
|
|
|
.animate-y {
|
|
animation-name: rotateY;
|
|
animation-duration: 2s;
|
|
animation-fill-mode: forwards;
|
|
}
|
|
|
|
.animate-z {
|
|
animation-name: rotateZ;
|
|
animation-duration: 2s;
|
|
animation-fill-mode: forwards;
|
|
}
|
|
|
|
.animate-xyz-3d {
|
|
animation-name: rotateXYZ3D;
|
|
animation-duration: 2s;
|
|
animation-fill-mode: forwards;
|
|
}
|
|
|
|
.animate-xyz {
|
|
animation-name: rotateXYZ;
|
|
animation-duration: 2s;
|
|
animation-fill-mode: forwards;
|
|
}
|
|
|
|
@keyframes rotateX {
|
|
from { transform: none; }
|
|
50% { transform: rotateX(60) }
|
|
to { transform: none; }
|
|
}
|
|
|
|
@keyframes rotateY {
|
|
from { transform: none; }
|
|
50% { transform: rotateY(60) }
|
|
to { transform: none; }
|
|
}
|
|
|
|
@keyframes rotateZ {
|
|
from { transform: none; }
|
|
50% { transform: rotate(60) }
|
|
to { transform: none; }
|
|
}
|
|
|
|
@keyframes rotateXYZ3D {
|
|
from { transform: none; }
|
|
50% { transform: rotate3d(60, 60, 60) }
|
|
to { transform: none; }
|
|
}
|
|
|
|
@keyframes rotateXYZ {
|
|
from { transform: none; }
|
|
50% { transform: rotateX(60) rotateY(60) rotate(60) }
|
|
to { transform: none; }
|
|
}
|