Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

simboonlong/textify.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

textify.js

Add fancy animation/effects to letters.

  1. requires Jquery, TweenMax.
  2. manually tested to work on latest version of Chrome, Firefox, Safari and IE.

Demo

textify.js demo

Demo link at http://htmlpreview.github.io/?https://github.com/simboonlong/textify.js/blob/master/index.html

Usage

Import the textify.css styles. Follow the structure in index.html.

<div id="split-1" class="split">something cool is coming</div>
<div id="split-2" class="split">yup this is awesome</div>

Basic options in textify.js are:

var splitOne = new SplitText( $('#split-1') );
splitOne.init().animate({
    delay: 0,
    x: 10,
    y: 20,
    rotationX: 165,
    rotationY: 40,
    rotationZ: 20,
    duration: 1.3,
    opacity: 0,
    staggerDuration: 0.1,
    easeType : Back.easeOut
});

Refer to TweenMax documentation for more information.

License

textify.js is licensed under the MIT license. (http://opensource.org/licenses/MIT)

Contributing

Feel free to contribute.

About

Add fancy animation/effects to letters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published