mirror of
https://github.com/withastro/astro.git
synced 2025-02-10 22:38:53 -05:00
ms
This commit is contained in:
parent
26ba25a2f2
commit
51fc960525
1 changed files with 4 additions and 4 deletions
|
@ -46,14 +46,14 @@
|
||||||
@layer astro {
|
@layer astro {
|
||||||
::view-transition-old(root) {
|
::view-transition-old(root) {
|
||||||
animation-name: astroFadeOut;
|
animation-name: astroFadeOut;
|
||||||
animation-duration: 180;
|
animation-duration: 180ms;
|
||||||
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
||||||
animation-fill-mode: both;
|
animation-fill-mode: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
::view-transition-new(root) {
|
::view-transition-new(root) {
|
||||||
animation-name: astroFadeIn;
|
animation-name: astroFadeIn;
|
||||||
animation-duration: 180;
|
animation-duration: 180ms;
|
||||||
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
||||||
animation-fill-mode: both;
|
animation-fill-mode: both;
|
||||||
}
|
}
|
||||||
|
@ -61,14 +61,14 @@
|
||||||
|
|
||||||
:root[data-astro-transition-fallback="old"]:not([data-astro-transition-scope]) {
|
:root[data-astro-transition-fallback="old"]:not([data-astro-transition-scope]) {
|
||||||
animation-name: astroFadeOut;
|
animation-name: astroFadeOut;
|
||||||
animation-duration: 180;
|
animation-duration: 180ms;
|
||||||
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
||||||
animation-fill-mode: both;
|
animation-fill-mode: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
:root[data-astro-transition-fallback="new"]:not([data-astro-transition-scope]) {
|
:root[data-astro-transition-fallback="new"]:not([data-astro-transition-scope]) {
|
||||||
animation-name: astroFadeIn;
|
animation-name: astroFadeIn;
|
||||||
animation-duration: 180;
|
animation-duration: 180ms;
|
||||||
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1);
|
||||||
animation-fill-mode: both;
|
animation-fill-mode: both;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue