Skip to content
프로젝트

소개

Animatelo는 프로젝트에서 사용할 수 있는 멋지고 재미있는 크로스 브라우저 애니메이션 모음입니다. 훌륭한 animate.css 프로젝트를 Web Animation API로 포팅한 것입니다.

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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.

관련 프로젝트 살펴보기

불러오는 중…