Slide In Animation
Smooth slide-in animation from different directions. Perfect for sidebars, modals, or any element that needs to enter from off-screen.
CSS7/16/2025
#css#animations#ui
CSS
@keyframes slideInLeft { from { transform: translateX(-100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } } @keyframes slideInRight { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } } .slide-in-left { animation: slideInLeft 0.4s ease-out; } .slide-in-right { animation: slideInRight 0.4s ease-out; }
...
Loading comments...