Giter Club home page Giter Club logo

glide's Introduction

Glide: A CSS3 Animation Library

The purpose of Glide is to provide a library of CSS3 animations that are robust and reusable in a wide variety of contexts, but flexible enough to be adjusted when necessary.

Requirements

Sass: http://sass-lang.com/

Usage

Glide is written in Sass, using the SCSS syntax. You must have Sass installed, preferably the latest version. For more details, see the "Requirements" section above.

To use Glide, simply include Glide into your .scss file, like this:

@import "glide";

Then, in your .scss file, you can apply glide animations to your page elements, like this:

#fade {
  @include fade();
}

Glide animations have some default settings, but you can pass your own, like this:

#fade {
  @include fade($iteration-count: infinite);
}

The arguments that can be passed to Glide animations are the same as the values for CSS3 animations. However, some animations can also accept a background argument, so be sure to check the glide.scss file for the specific animation you want to use. Below is a list of all the arguments with example values:

$duration: 1s
$timing-function: linear
$delay: 2s
$iteration-count: 1
$direction: alternate
$background: #06A

Glide comes with a premade project that features all of the animations currently available. Simply open the index.html file in your web browser (Google Chrome works best right now) to see all of the animations in action.

Notes

Currently, only the latest version of Google Chrome is supported officially. However, this is unacceptable. The goal is to make these animations work across as many browsers as possible. Glide animations are also not chainable in any sense of the word. A solution for this is in the works.

glide's People

Contributors

nickpettit avatar

Watchers

 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.