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
Copy file name to clipboardExpand all lines: docs/index.html
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -836,7 +836,7 @@ <h2 class="docs-mainTitle">
836
836
</blockquote>
837
837
<p><strong>Animate.css</strong> is a library of ready-to-use, cross-browser animations for use in your web projects. Great for emphasis, home pages, sliders, and attention-guiding hints.</p>
838
838
839
-
<pclass="edit-github"><ahref="https://github.com/daneden/animate.css/tree/master/source/docsSource/sections/00-intro.md" title="Edit this on Github">Edit this on Github</a></p>
839
+
<pclass="edit-github"><ahref="https://github.com/daneden/animate.css/blob/master/docsSource/sections/00-intro.md" title="Edit this on Github">Edit this on Github</a></p>
<p>Even though custom properties are not supported by some aging browsers, Animate.css provides a proper fallback, widening its support for any browser that supports CSS animations.</p>
902
902
903
-
<pclass="edit-github"><ahref="https://github.com/daneden/animate.css/tree/master/source/docsSource/sections/01-usage.md" title="Edit this on Github">Edit this on Github</a></p>
903
+
<pclass="edit-github"><ahref="https://github.com/daneden/animate.css/blob/master/docsSource/sections/01-usage.md" title="Edit this on Github">Edit this on Github</a></p>
904
904
</section>
905
905
906
906
@@ -1026,7 +1026,7 @@ <h3>Repeating classes</h3>
1026
1026
}
1027
1027
</code></pre>
1028
1028
1029
-
<pclass="edit-github"><ahref="https://github.com/daneden/animate.css/tree/master/source/docsSource/sections/02-utilities.md" title="Edit this on Github">Edit this on Github</a></p>
1029
+
<pclass="edit-github"><ahref="https://github.com/daneden/animate.css/blob/master/docsSource/sections/02-utilities.md" title="Edit this on Github">Edit this on Github</a></p>
<p>Even tough Animate.css provides utility classes for repeating animations, including an infinite one, you should avoid endless animations. It will just distract your users and might annoy a good slice of them. So, use it wisely!</p>
1051
+
<p>Even though Animate.css provides utility classes for repeating animations, including an infinite one, you should avoid endless animations. It will just distract your users and might annoy a good slice of them. So, use it wisely!</p>
1052
1052
<h3>Mind the initial and final state of your elements</h3>
1053
1053
<p>All the Animate.css animations include a CSS property called <code>animation-fill-mode</code> which controls the states of an element before and after animation. You can read more about it <ahref="https://developer.mozilla.org/en-US/docs/Web/CSS/animation-fill-mode">here</a>. Animate.css defaults to <code>animation-fill-mode: both</code>, but you can change it to suit your needs.</p>
1054
1054
<h3>Don't disable the <code>prefers-reduced-motion</code> media query</h3>
@@ -1067,7 +1067,7 @@ <h3>Overflow</h3>
1067
1067
<h3>Intervals between repeats</h3>
1068
1068
<p>Unfortunately, this isn't possible with pure CSS right now. You have to use Javascript to achieve this result.</p>
1069
1069
1070
-
<pclass="edit-github"><ahref="https://github.com/daneden/animate.css/tree/master/source/docsSource/sections/03-best-practices.md" title="Edit this on Github">Edit this on Github</a></p>
1070
+
<pclass="edit-github"><ahref="https://github.com/daneden/animate.css/blob/master/docsSource/sections/03-best-practices.md" title="Edit this on Github">Edit this on Github</a></p>
1071
1071
</section>
1072
1072
1073
1073
@@ -1119,7 +1119,7 @@ <h2>Usage with Javascript</h2>
1119
1119
</code></pre>
1120
1120
<p>If you had a hard time understanding the previous function, have a look at <ahref="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/const">const</a>, <ahref="https://developer.mozilla.org/en-US/docs/Web/API/Element/classList">classList</a>, <ahref="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions">arrow functions</a>, and <ahref="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise">Promises</a>.</p>
1121
1121
1122
-
<pclass="edit-github"><ahref="https://github.com/daneden/animate.css/tree/master/source/docsSource/sections/04-javascript.md" title="Edit this on Github">Edit this on Github</a></p>
1122
+
<pclass="edit-github"><ahref="https://github.com/daneden/animate.css/blob/master/docsSource/sections/04-javascript.md" title="Edit this on Github">Edit this on Github</a></p>
1123
1123
</section>
1124
1124
1125
1125
@@ -1154,7 +1154,7 @@ <h2>Migration from v3.x and under</h2>
1154
1154
</code></pre>
1155
1155
<p>In the case of a new project, it's highly recommended to use the default prefixed version as it'll make sure that you'll hardly have classes conflicting with your project. Besides, in later versions, we might decide to discontinue the <code>animate.compat.css</code> file.</p>
1156
1156
1157
-
<pclass="edit-github"><ahref="https://github.com/daneden/animate.css/tree/master/source/docsSource/sections/06-migration.md" title="Edit this on Github">Edit this on Github</a></p>
1157
+
<pclass="edit-github"><ahref="https://github.com/daneden/animate.css/blob/master/docsSource/sections/06-migration.md" title="Edit this on Github">Edit this on Github</a></p>
1158
1158
</section>
1159
1159
1160
1160
@@ -1197,7 +1197,7 @@ <h3>Changing the default prefix</h3>
1197
1197
</code></pre>
1198
1198
<p>Easy peasy!</p>
1199
1199
1200
-
<pclass="edit-github"><ahref="https://github.com/daneden/animate.css/tree/master/source/docsSource/sections/07-custom-builds.md" title="Edit this on Github">Edit this on Github</a></p>
1200
+
<pclass="edit-github"><ahref="https://github.com/daneden/animate.css/blob/master/docsSource/sections/07-custom-builds.md" title="Edit this on Github">Edit this on Github</a></p>
1201
1201
</section>
1202
1202
1203
1203
@@ -1211,7 +1211,7 @@ <h2>Code of Conduct</h2>
1211
1211
<h2>Contributing</h2>
1212
1212
<p>Pull requests are the way to go here. We only have two rules for submitting a pull request: match the naming convention (camelCase, categorized [fades, bounces, etc]) and let us see a demo of submitted animations in a <ahref="https://codepen.io">pen</a>. That <strong>last one is important</strong>.</p>
1213
1213
1214
-
<pclass="edit-github"><ahref="https://github.com/daneden/animate.css/tree/master/source/docsSource/sections/08-contributing.md" title="Edit this on Github">Edit this on Github</a></p>
1214
+
<pclass="edit-github"><ahref="https://github.com/daneden/animate.css/blob/master/docsSource/sections/08-contributing.md" title="Edit this on Github">Edit this on Github</a></p>
1215
1215
</section>
1216
1216
1217
1217
@@ -1239,7 +1239,7 @@ <h2>Core team</h2>
1239
1239
</tbody>
1240
1240
</table>
1241
1241
1242
-
<pclass="edit-github"><ahref="https://github.com/daneden/animate.css/tree/master/source/docsSource/sections/09-contributors.md" title="Edit this on Github">Edit this on Github</a></p>
1242
+
<pclass="edit-github"><ahref="https://github.com/daneden/animate.css/blob/master/docsSource/sections/09-contributors.md" title="Edit this on Github">Edit this on Github</a></p>
Copy file name to clipboardExpand all lines: docsSource/sections/03-best-practices.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ Animating the `<html/>` or `<body/>` tags is possible, but you should avoid it.
28
28
29
29
### Infinite animations should be avoided
30
30
31
-
Even tough Animate.css provides utility classes for repeating animations, including an infinite one, you should avoid endless animations. It will just distract your users and might annoy a good slice of them. So, use it wisely!
31
+
Even though Animate.css provides utility classes for repeating animations, including an infinite one, you should avoid endless animations. It will just distract your users and might annoy a good slice of them. So, use it wisely!
32
32
33
33
### Mind the initial and final state of your elements
0 commit comments