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

Commit

Permalink
cross-fade-delayed only delay the incoming page
Browse files Browse the repository at this point in the history
  • Loading branch information
Yvonne Yip committed Jun 20, 2014
1 parent d0f0132 commit aa3cf59
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions transitions/cross-fade.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@
<core-style id="cross-fade-delayed">
polyfill-next-selector { content: ':host > * [cross-fade-delayed]'; }
::content > * /deep/ [cross-fade-delayed] {
-webkit-transition: opacity {{g.transitions.fadeDuration || g.transitions.duration}} ease-out;
transition: opacity {{g.transitions.fadeDuration || g.transitions.duration}} ease-out;
}

polyfill-next-selector { content: ':host > .core-selected [cross-fade-delayed]'; }
::content > .core-selected /deep/ [cross-fade-delayed] {
-webkit-transition: opacity {{g.transitions.fadeDuration || g.transitions.duration}} ease-out {{g.transitions.duration}};
transition: opacity {{g.transitions.fadeDuration || g.transitions.duration}} ease-out {{g.transitions.duration}};
}
Expand Down

0 comments on commit aa3cf59

Please sign in to comment.