Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Commit aa3cf59

Browse files
author
Yvonne Yip
committed
cross-fade-delayed only delay the incoming page
1 parent d0f0132 commit aa3cf59

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

transitions/cross-fade.html

+6
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@
5252
<core-style id="cross-fade-delayed">
5353
polyfill-next-selector { content: ':host > * [cross-fade-delayed]'; }
5454
::content > * /deep/ [cross-fade-delayed] {
55+
-webkit-transition: opacity {{g.transitions.fadeDuration || g.transitions.duration}} ease-out;
56+
transition: opacity {{g.transitions.fadeDuration || g.transitions.duration}} ease-out;
57+
}
58+
59+
polyfill-next-selector { content: ':host > .core-selected [cross-fade-delayed]'; }
60+
::content > .core-selected /deep/ [cross-fade-delayed] {
5561
-webkit-transition: opacity {{g.transitions.fadeDuration || g.transitions.duration}} ease-out {{g.transitions.duration}};
5662
transition: opacity {{g.transitions.fadeDuration || g.transitions.duration}} ease-out {{g.transitions.duration}};
5763
}

0 commit comments

Comments
 (0)