Skip to content

Commit 2f31b2d

Browse files
author
Adam Argyle
authored
nits and adjustments
1 parent d4dbb6d commit 2f31b2d

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
1. `npm i transition-style`
2121
2. `@import "transition-style";` in your CSS or `import 'transition-style';` in your Javascript
2222

23+
<br>
24+
2325
**CDN**
2426
**Latest** at `https://unpkg.com/transition-style`
2527

@@ -31,7 +33,7 @@ Or import **individual category bundles**
3133

3234
Or go a **slim & custom** route by importing the `hackpack`
3335
- `https://unpkg.com/transition-style/transition.hackpack.min.css`
34-
- Create a [custom](#custom) `@keyframe` animation with the imported custom properties.
36+
- It's just the custom props. Build [custom](#custom) `@keyframe` animations with them.
3537

3638
> Custom properties ship with each `.min.css` as well
3739
@@ -52,6 +54,8 @@ After `transition.css` has been added to your project, add an attribute to an el
5254

5355
> if nothing is happening when using the attributes, it's likely `transition.css` has not loaded
5456
57+
Transition.css is very similar to [animate.css](https://animate.style). The docs they've made are excellent and show many examples of advanced usage of libraries like this. You'll notice `transition.css` is very inspired by `animate.css`.
58+
5559
<br><br>
5660

5761
#### Custom
@@ -85,8 +89,6 @@ Then, in the HTML:
8589

8690
> The only rule is that you must transition from the same type of shapes
8791
88-
<br><br>
89-
9092
#### Play
9193
Play and experiment with [this Codepen](https://codepen.io/argyleink/pen/RwrzGJb)
9294

0 commit comments

Comments
 (0)