You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Create a custom `@keyframe` animation with the imported custom properties.
34
+
- Create a [custom](#custom)`@keyframe` animation with the imported custom properties.
30
35
31
-
> Custom properties ship with the `transition.min.css` as well.
36
+
> Custom properties ship with each `.min.css` as well
32
37
33
38
<br><br>
34
39
35
40
#### Usage
36
-
After `transition.css` has been added to your project, add an attribute to an element:
41
+
After `transition.css` has been added to your project, add an attribute to an element and watch the magic:
37
42
38
43
```html
39
44
<divtransition="in:circle:bottom-right">
@@ -45,6 +50,10 @@ After `transition.css` has been added to your project, add an attribute to an el
45
50
</div>
46
51
```
47
52
53
+
> if nothing is happening when using the attributes, it's likely `transition.css` has not loaded
54
+
55
+
<br><br>
56
+
48
57
#### Custom
49
58
Go off the rails and build your own transitions with the custom props that ship with the each bundle. There's even the `hackpack` which is exclusively the custom props 🤘💀
50
59
@@ -74,7 +83,9 @@ Then, in the HTML:
74
83
</div>
75
84
```
76
85
77
-
- The only rule is that you must transition from the same type of shapes
86
+
> The only rule is that you must transition from the same type of shapes
87
+
88
+
<br><br>
78
89
79
90
#### Play
80
91
Play and experiment with [this Codepen](https://codepen.io/argyleink/pen/RwrzGJb)
0 commit comments