From 20ae36e9f845549e0b046335c4c4d28e178091d1 Mon Sep 17 00:00:00 2001 From: "[thrishank]" <[thrishankkalluru@gmail.com]> Date: Thu, 8 Jun 2023 22:50:14 +0530 Subject: [PATCH] Corrected few typo's and grammer mistakes for better understanding of the documentaion --- docs/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/index.html b/docs/index.html index f44fa66..107f0f8 100644 --- a/docs/index.html +++ b/docs/index.html @@ -873,7 +873,7 @@
-

Animate.css v4 brought some breaking changes, please refer to the migration guide before updating from v3.x and under.

+

Animate.css v4 brought some breaking changes, please refer to the migration guide before updating from v3.x and older versions.

Animate.css 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.

@@ -910,7 +910,7 @@

Animations can improve the UX of an interface, but keep in mind that they can also get in the way of your users! Please read the best practices and gotchas sections to bring your web-things to life in the best way possible.

Using @keyframes

-

Even though the library provides you a few helper classes like the animated class to get you up running quickly, you can directly use the provided animations keyframes. This provides a flexible way to use Animate.css with your current projects without having to refactor your HTML code.

+

Even though the library provides you with a few helper classes like the animated class to get you up running quickly, you can directly use the provided animations keyframes. This provides a flexible way to use Animate.css with your current projects without having to refactor your HTML code.

Example:

.my-element {
   display: inline-block;
@@ -982,7 +982,7 @@ document.documentElement.style.setProperty('--animate-duration', '.5s');
 
 
 
-

The provided delays are from 1 to 5 seconds. You can customize them setting the --animate-delay property to a longer or a shorter duration:

+

The provided delays are from 1 to 5 seconds. You can customize by setting the --animate-delay property to a longer or a shorter duration:

/* All delay classes will take 2x longer to start */
 :root {
   --animate-delay: 2s;
@@ -1097,7 +1097,7 @@ document.documentElement.style.setProperty('--animate-duration', '.5s');
 </body>
 

Infinite animations should be avoided

-

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!

+

Even though Animate.css provides utility classes for repeating animations, including an infinite one, it is recommended to avoid endless animations. It will just distract your users and might annoy a good slice of them. So, use it wisely!

Mind the initial and final state of your elements

All the Animate.css animations include a CSS property called animation-fill-mode, which controls the states of an element before and after animation. You can read more about it here. Animate.css defaults to animation-fill-mode: both, but you can change it to suit your needs.

Don't disable the prefers-reduced-motion media query