Giter VIP home page Giter VIP logo

movers.css's Introduction

CSS-Animations

movers.css is a collection of CSS based animations designed to make life easier! Please see below for a full list of current animations and a guide on how to use the library and add the animations to your own code.

This library is currently still a work in progress so please continue to check back for updates and new animations.

How to use

To use any animation from the collection copy the code into your CSS file such as in the example below:
@-webkit-keyframes enterRight {
  0% {
    -webkit-transform: translateX(1000px);
            transform: translateX(1000px);
  }
  100% {
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
}

@keyframes enterRight {
  0% {
    -webkit-transform: translateX(1000px);
            transform: translateX(1000px);
  }
  100% {
    -webkit-transform: translateX(0px);
            transform: translateX(0px);
  }
}

.selector {
  -webkit-animation-name: enterRight;
          animation-name: enterRight;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  -webkit-animation-timing-function: cubic-bezier(.64,.03,.39,1.49);
          animation-timing-function: cubic-bezier(.64,.03,.39,1.49);
}

Then change .selector to the element, #id or .class of the item you would like to animate.

Each animation can be customised and tweaked by changing the CSS properties such as animation-duration, animation-timing-function, animation-delay, animation-iteration-count, animation-fill-mode etc. You can also tweak colours, border-colours and anything else within your own stylesheet to truly customise your work.

Due to the number of animations included and the size of the movers.css file, i recommend only adding the code for the animations that you wish to use to maximise performance and minimise any impact on loading time from an extra css file.

Animations list

Animations list
Entry Animations
Fade in
Enter from top
Enter from bottom
Enter from right
Enter from left
Rotate clockwise
Rotate anticlockwise
Shrink and fade in
Grow and fade in
Flip
Flip alternate
Hinge up left
Hinge up right
Hinge down right
Hinge down left
Enter top left
Enter top right
Enter bottom left
Enter bottom right
Exit Animations
Exit top
Exit bottom
Exit right
Exit left
Fade out
Giant fade exit
Special Animations
Shake horizontal
Shake vertical
Mad shake
Swing right
Swing left
Color Shift
Shape shift 1
Pendulum
Rocking
Elastic 1
Elastic 2
Suprise

Enjoy! :)

movers.css's People

Contributors

kyle-martin1 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.