All Projects → kristofferandreasen → Wickedcss

kristofferandreasen / Wickedcss

Licence: mit
A library for CSS3 animations. The animations are more vibrant than most simple animations.

Projects that are alternatives of or similar to Wickedcss

Dynamic.css
🚀 Awesome Library of CSS3 animations 🎉
Stars: ✭ 38 (-86.67%)
Mutual labels:  animation-library
animatePaper.js
An animation library for paper.js.
Stars: ✭ 33 (-88.42%)
Mutual labels:  animation-library
lexicon-mono-seq
DOM Text Based Multiple Sequence Alignment Library
Stars: ✭ 15 (-94.74%)
Mutual labels:  animation-library
Sequents
A simple continuous animation library for iOS UI.
Stars: ✭ 31 (-89.12%)
Mutual labels:  animation-library
Kotlin-Animation-DSL
simplify Android animation code by redefining API, use just one third of code to create animation compare to origin Android API
Stars: ✭ 45 (-84.21%)
Mutual labels:  animation-library
scrollxp
Alpine.js-esque library for scrolling animations on websites
Stars: ✭ 50 (-82.46%)
Mutual labels:  animation-library
generativepy
Library for creating generative art and maths animations
Stars: ✭ 70 (-75.44%)
Mutual labels:  animation-library
Gemini
Gemini is rich scroll based animation framework for iOS, written in Swift.
Stars: ✭ 2,965 (+940.35%)
Mutual labels:  animation-library
web-animation-club
CSS controlled animations with transitionEnd, onTransitionEnd, animationend, onAnimationEnd events and frame throwing. Tiny javascript library with cross-browser methods to handle css animation/transition callbacks and event loop frame throwing. 📚🖥️📱
Stars: ✭ 52 (-81.75%)
Mutual labels:  animation-library
vue3-spring
A spring-physics based animation library, and more
Stars: ✭ 30 (-89.47%)
Mutual labels:  animation-library
android-helpers
Android helpers collection
Stars: ✭ 20 (-92.98%)
Mutual labels:  animation-library
transition-hook
☄️ An extremely light-weight react transition animation hook which is simpler and easier to use than react-transition-group
Stars: ✭ 250 (-12.28%)
Mutual labels:  animation-library
animol
A minimal, super lightweight (3KB minimized and gzipped), zero dependency, JavaScript animation library.
Stars: ✭ 24 (-91.58%)
Mutual labels:  animation-library
kinieta
A Fast Animation Engine with an Intuitive API
Stars: ✭ 44 (-84.56%)
Mutual labels:  animation-library
animX
An animation library for Love2D with unique features
Stars: ✭ 17 (-94.04%)
Mutual labels:  animation-library
bezier-editor
A tool base on HTML5 canvas to create bezier curve like photoshop and then it can be exported as JavaScript code to create an animation path for an HTML element.
Stars: ✭ 21 (-92.63%)
Mutual labels:  animation-library
smoothr
A custom React router that leverages the Web Animations API and CSS animations.
Stars: ✭ 28 (-90.18%)
Mutual labels:  animation-library
React Flip Toolkit
A lightweight magic-move library for configurable layout transitions
Stars: ✭ 3,319 (+1064.56%)
Mutual labels:  animation-library
Sequent
A simple continuous animation library for Android UI.
Stars: ✭ 263 (-7.72%)
Mutual labels:  animation-library
react-awesome-loaders
🚀 High quality, super responsive and completely customisable Loading Animations to insert into your website with single line of code.
Stars: ✭ 146 (-48.77%)
Mutual labels:  animation-library

wickedCSS

A library for CSS3 animations.

The animations include regular CSS3 animations to be used in all settings. Additionally, the library includes a number of wicked animations, which aren't applicable in all situations. They can be fun to play with.

For examples and documentation View Project Page.

Usage

To use the library, simply download and link to the file in your header.

<link rel="stylesheet" href="wickedcss.min.css"/>

Or the non-minified version.

<link rel="stylesheet" href="wickedcss.css"/>

Simply add the animation class to your element and it will perform your wicked animation.

<div class="barrelRoll"> Place your content here </div>

In this case, the contents of the div will perform the barrelRoll animation. All the classes can be found on the Project Page.

The classes can be applied to all elements including images.

<img src="images/mushroom.png" class="spinner"/>
Classes
  • floater
  • barrelRoll
  • rollerRight
  • rollerLeft
  • heartbeat
  • pulse
  • rotation
  • sideToSide
  • zoomer
  • zoomerOut
  • spinner
  • wiggle
  • shake
  • pound
  • slideUp
  • slideDown
  • slideRight
  • slideLeft
  • fadeIn
  • fadeOut
  • rotateInRight
  • rotateInLeft
  • rotateIn
  • bounceIn

Customizations

Show on scroll

In order to show the animations on scroll, the library can be integrated with wow.js. The animation will fire when the element enters the screen. Remember to include jQuery before wow.js like so:

Jquery with local fallback:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.3.min.js"><\/script>')</script>

wow.js

<script src="js/wow.min.js"></script>
<script>
new WOW().init();
</script>

It can be used like this:

<div class="wow barrelRoll"> Content to Reveal Here </div>
Show on scroll - Alternative

The animation can alternatively be triggered at a specific position. In this example it will be triggered when the element is 450 pixels from the top of the screen.

    <script>
    	$(window).scroll(function() {
    		$('#animatedElement').each(function(){
    		var imagePos = $(this).offset().top;
    
    		var topOfWindow = $(window).scrollTop();
    			if (imagePos < topOfWindow+450) {
    				$(this).addClass("barrelRoll");
    			}
    		});
    	});
    </script>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].