chromium/third_party/blink/renderer/core/css/transition_animations.css

/*
 * Copyright 2022 The Chromium Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 *
 * The default animation style sheet used for view transitions.
 * See third_party/blink/renderer/core/view_transition/README.md for details
 */

@namespace "http://www.w3.org/1999/xhtml";

@keyframes -ua-view-transition-fade-in {
  from {
    opacity: 0;
  }
}

@keyframes -ua-view-transition-fade-out {
  to {
    opacity: 0;
  }
}

@keyframes -ua-mix-blend-mode-plus-lighter {
  from { mix-blend-mode: plus-lighter }
  to { mix-blend-mode: plus-lighter }
}

html::view-transition-group(*) {
  animation-duration: 0.25s;
  animation-fill-mode: both;
}

html::view-transition-image-pair(*) {
  animation-duration: inherit;
  animation-fill-mode: inherit;
}

html::view-transition-new(*) {
  animation-duration: inherit;
  animation-fill-mode: inherit;
}

html::view-transition-old(*) {
  animation-duration: inherit;
  animation-fill-mode: inherit;
}