Animatelo is a bunch of cool, fun, and cross-browser animations for you to use in your projects. This is a porting to Web Animation API of the fabulous animate.css project.

Overview

Animatelo

CDNJS version

Just-add-water Web Animations

Animatelo is a bunch of cool, fun, and cross-browser animations for you to use in your projects. Great for emphasis, home pages, sliders, and general just-add-water-awesomeness.

This is a porting to Web Animation API of the fabulous animate.css project.

Check out all the animations here!

What is Web Animations API?

Web Animations API is a new JavaScript API for driving animated content on the web.

Web Animations unlocks features previously only usable declaratively, and exposes powerful, high-performance animation capabilities to developers.

With the Web Animations API, we can move interactive animations from stylesheets to JavaScript, separating presentation from behavior.

With the Web Animations API, we no longer need to rely on DOM-heavy techniques like writing CSS properties and scoping classes onto elements to control playback direction.

Browser Support

Web Animations API features is available by default in Firefox 48+ and Chrome 36+. For other browsers there’s a handy maintained polyfill that tests for feature support and adds it where necessary.

The polyfill and Animatelo are supported on modern versions of all major browsers, including:

  • Chrome
  • Firefox 27+
  • IE10+ (including Edge)
  • Safari (iOS) 7.1+
  • Safari (Mac) 9+

Installation

To install via Bower, simply do the following:

$ bower install animatelo --save

or you can install via npm:

$ npm install animatelo --save

Basic Usage

Here's a simple example of an animation that flip a text in a <h1>.
Try it as a live demo.

<!-- Include the polyfill -->
<script src="https://cdn.rawgit.com/web-animations/web-animations-js/2.2.2/web-animations.min.js"></script>

<!-- Include Animatelo -->
<script src="https://cdn.rawgit.com/gibbok/animatelo/1.0.3/dist/animatelo.min.js"></script>

<!-- Set up a target to animate -->
<h1 id="hello">Hello world!</h1>

<!-- Animate! -->
<script>
    window.animatelo.flip('#hello');
</script>

Advanced Usage Documentation

More information and technical documentation on Animatelo can be found at Usage page.

License

Animatelo is licensed under the MIT license.

You might also like...

Cool and powerful effect to select fields. Javascript vanilla and ~2kb gzipped

Cool and powerful effect to select fields. Javascript vanilla and ~2kb gzipped

pickout Cool and powerful effect to select fields. Javascript vanilla and ~2kb gzipped. DEMO PAGE For syntax of the previous version click here How to

Sep 20, 2022

Animated images that are superficially attractive and entertaining but intellectually undemanding. Cool as all hell though!

Animated images that are superficially attractive and entertaining but intellectually undemanding. Cool as all hell though!

MMM-EyeCandy Animated images that are superficially attractive and entertaining but intellectually undemanding. Add some EyeCandy to your mirror. Some

Dec 28, 2022

A simple yet powerful native javascript plugin for a cool typewriter effect.

A simple yet powerful native javascript plugin for a cool typewriter effect.

TypewriterJS v2 NPM Repository JSFiddle Example Emoji Example CDN You can use the CDN version of this plugin for fast and easy setup. script src="htt

Jan 4, 2023

"shuffle-text" is JavaScript text effect library such as cool legacy of Flash.

ShuffleText This is the JavaScript library for text effect such as Flash contents. Setup Script Install script src="shuffle-text.js"/script NPM In

Dec 24, 2022

Cool 2D dissolve effect generator

Cool 2D dissolve effect generator

Dissolve Cool 2D dissolve effect generator (demo) This module exposes a generator for generating pseudorandom points over a 2D integer grid. The gener

Apr 15, 2021

Cool tips to design UI/UX on Leaflet maps.

Cool tips to design UI/UX on Leaflet maps.

Map Effects 100 Map Effects 100 has cool tips to design UI/UX on your Map. Map? Leaflet Quick Start git clone https://github.com/muxlab/map-effects-10

Sep 21, 2022

Easy Effect is a WYSIWYG Lottie animation editor, dedicated to helping you make dynamic effects easily.

Easy Effect is a WYSIWYG Lottie animation editor, dedicated to helping you make dynamic effects easily.

Easy Effect 🖖 Introduction Easy Effect is a WYSIWYG animation editor based on Lottie. ✨ Feature 🌈 ease to use Anyone who want to create an animation

Dec 16, 2022

A React component for creating typing animations.

react-typewriter A react component for animated typing text. Installation npm install --save react-typewriter Usage Pass in children to the TypeWrite

Dec 1, 2022

Modern ways of revealing new content using SVG animations.

Page Loading Effects Modern ways of revealing new content using SVG animations. Article on Codrops Demo Integrate or build upon it for free in your pe

Dec 30, 2022
Comments
  • Easing

    Easing

    Hi Gibbok, great stuff!

    I think your just missing the timing-function from the animate.css

    In CSS the property is called 'timing-function', however in WAAPI this is the 'easing' property.

    By spec the default in CSS for transitions and animations is "ease". However in WAAPI the default is "linear" – AnimationEffectTimingProperties

    You can just pass { easing: "ease" } in the options of your .animate call. (This matches animation-timing-function/transition-timing-function behaviour) However you can also pass it into the Keyframes as well ('easing' supported in the Keyframe object). Which matches the behaviour of defining the timing-function inside the @keyframe animations. (Which animate.css does sometimes, for example like in the bounce animation)

    enhancement 
    opened by Martin-Pitt 6
  • Bug on latest firefox (56.0)

    Bug on latest firefox (56.0)

    Problem with flipInX and flipInY animations (maybe more, i tested their only).

    Not show animation (animated block hides from page), when no mouse move and no keyboard press button (New firefox throttling?). When mouse moving it works correct.

    jsfiddle

    Animations without opacity works correct. Tested on the 2 PC (Windows 10, Firefox 56 not working, Chrome 61 works, Opera 48 works).

    Update: Fade (fade, fadeInDown and etc.) effects with opacity works great. At the moment the problem only with flipInX and flipInY animations.

    opened by gitrequests 2
Releases(1.0.3)
Owner
GibboK
A professional and enthusiastic Front End Developer. gibbok.coding📧gmail.com
GibboK
Create cool animated SVG spinners, loaders and other looped animations in seconds

SVG Circus SVG Circus enables you to create cool animated SVG spinners, loaders and other looped animations in seconds. Developing To run a local SVG

Alex Kaul 301 Dec 24, 2022
Lightweight, simple to use jQuery plugin to animate SVG paths

jQuery DrawSVG This plugin uses the jQuery built-in animation engine to transition the stroke on every <path> inside the selected <svg> element, using

Leonardo Santos 762 Dec 20, 2022
small/cute/fun projects that don't need their own repo

experiments Hi! This repository is where I'm going to put short fun things I made that are probably never going to be touched again. cursed-k8s-x86 A

Nikhil Jha 20 Jun 15, 2022
A lightweight, efficient and easy-to-use Canvas library for building some cool particle effects.

JParticles · 中文 | English 官网:jparticles.js.org 特效列表 粒子运动 波纹运动 波纹进度条 雪花飘落 线条动画 介绍 JParticles(JavaScript Particles 的缩写)是一款基于 Canvas 的不依赖于其他库的轻量级 JavaScr

花祁 466 Dec 27, 2022
Javascript library to draw and animate images on hover

Hover effect Javascript library to draw and animate images on hover. If this project help you, you like this library or you just want to thank me, you

Robin Delaporte 1.5k Dec 23, 2022
Warp drive is a lightweight jQuery plugin that helps you create a cool, interactive, configurable, HTML5 canvas based warp drive/starfield effect.

Warp drive jQuery plugin (jquery-warpdrive-plugin) Preview Description Warp drive is a lightweight jQuery plugin that helps you create a cool, interac

Niklas 51 Nov 15, 2022
Some ideas for modern multi-layer page transitions using CSS Animations.

Multi-Layer Page Reveal Effects Some ideas for modern multi-layer page transitions using CSS Animations. Article on Codrops Demo Sponsor Demo sponsore

Codrops 117 Nov 1, 2022
CSS loading animations with minimal effort!

Whirl CSS loading animations with minimal effort! whirl is a curation of CSS loading animations(whirls! ?? ). It started as a drop in CSS file to get

Jhey Tompkins 1.4k Jan 4, 2023
🔮 CSS loading animations made by single element.

Three Dots The project is a set of CSS loading animations created with three dots which made by just single element. I think the project can not only

Zongbin 1.2k Dec 29, 2022
Pure CSS (no JavaScript) implementation of Android Material design "ripple" animation

Pure CSS ripple effect (no JavaScript) CSS-only implementation of Android Material design "ripple" animation on click event Main advantage of this sol

Mladen Plavsic 334 Dec 11, 2022