viewtransitions.css — astro Source File
Architecture documentation for viewtransitions.css, a css file in the astro codebase.
Entity Profile
Source Code
@keyframes astroFadeInOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@keyframes astroFadeIn {
from {
opacity: 0;
mix-blend-mode: plus-lighter;
}
to {
opacity: 1;
mix-blend-mode: plus-lighter;
}
}
@keyframes astroFadeOut {
from {
opacity: 1;
mix-blend-mode: plus-lighter;
}
to {
opacity: 0;
mix-blend-mode: plus-lighter;
}
}
@keyframes astroSlideFromRight {
from {
transform: translateX(100%);
}
}
@keyframes astroSlideFromLeft {
from {
transform: translateX(-100%);
}
}
@keyframes astroSlideToRight {
to {
transform: translateX(100%);
}
}
@keyframes astroSlideToLeft {
to {
transform: translateX(-100%);
}
}
@media (prefers-reduced-motion) {
::view-transition-group(*),
::view-transition-old(*),
::view-transition-new(*) {
animation: none !important;
}
[data-astro-transition-scope] {
animation: none !important;
}
}
Source
Frequently Asked Questions
What does viewtransitions.css do?
viewtransitions.css is a source file in the astro codebase, written in css.
Where is viewtransitions.css in the architecture?
viewtransitions.css is located at packages/astro/components/viewtransitions.css (directory: packages/astro/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free