diff --git a/site/src/layouts/AnimationLayout.astro b/site/src/layouts/AnimationLayout.astro index 95a17ceda2..dc2bcd3e21 100644 --- a/site/src/layouts/AnimationLayout.astro +++ b/site/src/layouts/AnimationLayout.astro @@ -101,13 +101,55 @@ const slideTextAnimation = { grid-area: 4 / 3 / 5 / 6; z-index: 4; } + + @keyframes slideOutLeft { + from { + transform: translateX(0); + opacity: 1; + } + to { + transform: translateX(-100%); + opacity: 0; + } + } + + @keyframes slideInRight { + from { + transform: translateX(100%); + opacity: 0; + } + to { + transform: translateX(0); + opacity: 1; + } + }