Random Smooth Text Ambient Animations With jQuery Letter Effects - Download Random Smooth Text Ambient Animations With jQuery - Letter Effects

Download Random Smooth Text Ambient Animations With jQuery – Letter Effects

Posted on

This time I will share jQuery Plugin and tutorial about Random Smooth Text Ambient Animations With jQuery – Letter Effects, hope it will help you in programming stack.

Random Smooth Text Ambient Animations With jQuery Letter Effects - Download Random Smooth Text Ambient Animations With jQuery - Letter Effects
File Size: 4.21 KB
Views Total: 2332
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Letter Effects is a very small jQuery plugin which helps apply random smooth ambient animations and hover effects to individual characters. It uses CSS3 transitions for smooth animations. The goal is to put each character in its own element (span) in order to style/animate them individually.

How to use it:

1. Reference the following JavaScript files in your web project:

1 <script src="//code.jquery.com/jquery-2.2.3.min.js"></script>
2 <script src="letterEffect.js"></script>

2. Call the function on the target text container to produce default animations on the characters.

1 $(".demo").letterEffect();

3. Customize the text animation using the following options.

01 $(".demo").letterEffect({
02  
03   // CSS property you want to apply
04   "effectParam": "color",
05  
06   // Propety values
07   "effectValues": ["red", "green", "blue", "yellow"],
08  
09   // Enable ambient animation
10   "ambient<a href="https://www.jqueryscript.net/animation/">Animation</a>": true,
11  
12   // Percentage of affacted characters
13   "ambientstrength": .2,
14  
15   // Animation speed in seconds
16   "time": .5,
17  
18   // Amout in seconds to randomly vary animation time
19   "drift": .25,
20  
21   // CSS3 transition
22   "ambientEase": "ease-in-out",
23  
24   // Enable hover effect
25   "hoverAnimation": true,
26  
27   // Transition delay in seconds
28   "hoverTime": .3,
29  
30   // CSS3 transition
31   "hoverEase": "ease-in-out",
32  
33   // Groups by every letter
34   "splitChar": '',
35  
36 });

Change log:

  • Ability to group characters

This awesome jQuery plugin is developed by CIGIHub. For more Advanced Usages, please check the demo page or visit the official website.

source : jqueryscript.net