Jump to content
Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Sign in to follow this  
Rss Bot

10 great CSS animation resources

Recommended Posts

Creating meaningful and beautiful CSS animations can be time-consuming and difficult, but luckily there are some great resources out there that you can use to jumpstart your creative process, and explore different areas in depth.

This resource collection includes all the best CSS animation libraries. Pick one that suits your project and start straight away, or use them as a starting point to create something custom for your brand. There are also some handy crib sheets and shortcuts to supplement your learning.

01. Animate.css

oYAebkcaew4VQ6jBeVLhmJ.jpg

This library includes 76 essential CSS animations

This library bring together no fewer than 76 animations, all created in CSS and ready to use. Simply reference the CSS file, and when you add classes to an element, the animation happens. This works best when adding or removing classes using JavaScript.

The library is an impressively small file size when minified and gzipped, but if you don't want to load the entire thing into your site, the project is also a great source of inspiration. Compiled by Dan Eden, this library includes almost every CSS animation you could need. 

02. Hover.css

3MD5v7yjtEMQ6VJrg2G3nJ.jpg

Hover.css focuses on button interaction animations

Similar to Animate.css, Hover.css is a collection of CSS effects you can use in your projects. This library was created specifically for button interaction animations. The library can be downloaded in vanilla CSS, Sass and Less, allowing these animations to fit into any project. The library has almost every animation you might need for interaction.

03. CSShake

6YTXKY56oGzWF9YpRHADeS.png

CSShake focuses on shaking animations

CSShake is a library of CSS animations dedicated to making elements shake. The library has a number of classes you can add to elements to apply one of many different shake animations. The animations use keyframes and utilise the transform property to create these un-ignorable, sometimes crazy or violent-looking animations.

04. Obnoxious.css

W2WD8fpxZ6z7Vb3DRvasmJ.jpg

Want to know how not to do CSS animation?

Obnoxious.css was created by Tim Holman and is exactly as the name suggests. The library explores what is possible with CSS animation, but illustrates perfectly what you should not be doing with CSS animations. While presented as a product-ready animation library (and it is), it is intended to be tongue-in-cheek. Brace yourself.

05. Replainless.CSS

sLamLBP8Nqe4VjFUKFGCnJ.jpg

These animations are super-fast

Replainless.css in a small and lightweight CSS animation library with a focus on creating animations that do not cause a repaint from the browser (so long as they’re used correctly). By not requiring a reflow or repaint, these animations are super-fast and performant!

06. Animate Plus

QbRmcFQCwsfsEo3MxRPCej.jpg

This animation library is great for mobile sites

Stripe is well known for its beautifully animated product pages. One of the masterminds behind these, Benjamin De Cock, has created a CSS and SVG animation library that is performant and lightweight, making it particularly well suited to mobile.

07. Motion UI

CSS animation frameworks

Powerful animators like Motion UI are useful CSS tools

This Sass library from ZURB makes it easier to apply custom animations to your UI. It's a little more involved than some of the other libraries on this list, but very powerful. You can create and tweak animations to meet your needs, then invoke them using JavaScript.

08. BounceJS

8vuf343RepMuR5oirWiPfH.png

Use this tool to create your own library of animations

This is a useful tool if you want to create your own library of animations. It has lots of fun presets and takes the heavy lifting out of writing complex animation code. It uses advanced transform operations to create the animations, which can then be added to your own animation CSS file and applied as you wish.

09. GreenSock Animation Platform

252USFwhUaVeFm664hWzFA.jpg

Go further with GreenSock

GSAP is a JavaScript animation framework. If you're creating more complex animations (such as in banner ads or hero images), GSAP offers a set of tools for handling playback, SVG tweening and more. This is great if you want to go further than what can be done in CSS animations, but does present a bit of a learning curve. To find out more, take a look at our guide to GSAP

10. Easing functions cheatsheet

RybN3HL2XkjPgyxtrfCzdj.jpg

Easing functions are easier with this cheatsheet

Timing functions specify the rate of change over time, and this site helps you choose the right one for your animation or transition. It features a gallery with Bézier curves where you can preview them, and quickly copy the code.

Read more:

View the full article

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×