https://lemehovskiy.github.io/animatedHeadline/demo
# NPM
npm install animated_headline
Option | Type | Default |
---|---|---|
duration | int | .5 |
autoplay_speed | int | 2 |
center_mode | bool | false |
Example:
<span class="animated-headline">
<b class="active">
rolor
</b>
<b>
color
</b>
<b>
nolor
</b>
</span>
<script>
$('.animated-headline').animatedHeadline({
duration: 1,
autoplay_speed: 3,
center_mode: true
});
</script>
- Chrome
- Firefox
- Opera
- IE10/11
- jQuery 1.7
- Gsap