Skip to content
This repository has been archived by the owner on Sep 18, 2022. It is now read-only.

hozakar/TextFlip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TextFlip

###Features: Applies rotation or opacity animations for each character of text. Best headings...

Usage

First, include necessary files in head.

<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="textflip.min.js"></script>
<link href="textflip.css" rel="stylesheet" />

Then, textflip can be applied to any container element(s).

<script>
  $('#element').textflip();
  $('.elements').textflip();
</script>

Parameters

  • animation: rotateX, rotateY, rotateZ, opacity, random (Default: opacity)
  • sequence: random, linear (Default: random)
  • interval: Interval in milliseconds. If blank or 0, plugin will automatically apply a suitable interval. (Default: 0)

Usage Example

<script>
  $('.element').textflip({
    animation: 'rotateZ',
    sequence: 'linear',
    interval: 2000
  });
</script>

Dependencies

License

CC0 1.0 Universal Licence

Dependecies have their own licence information. Please view them before use.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published