We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4f888f commit 66846d7Copy full SHA for 66846d7
snippets/css/animations/slide-in-animation.md
@@ -0,0 +1,24 @@
1
+---
2
+title: Slide-in Animation
3
+description: Adds a slide-in from the right side of the screen
4
+author: AlsoKnownAs-Ax
5
+tags: css,animation
6
7
+
8
+```css
9
+.slide-in {
10
+ animation: slide-in 1s ease-in-out;
11
+}
12
13
+@keyframes slide-in {
14
+ from {
15
+ scale: 300% 1;
16
+ translate: 150vw 0;
17
+ }
18
19
+ to {
20
+ scale: 100% 1;
21
+ translate: 0 0;
22
23
24
+```
0 commit comments