Repository is archived
No commit activity in last 3 years
No release in over 3 years
A simple asset wrapper for the animate.css. See http://daneden.github.io/animate.css/
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.6
>= 0
 Project Readme

Animate::Css::Rails

This gem is a simple wrapper around the animate.css It is bundled as a gem to be able to include this 3rd party asset into the asset pipeline, without having to locally import the actual CSS and JavaScript into your project. Please see http://daneden.github.io/animate.css/ for the original css.

Gem Version

Installation

Add this line to your application's Gemfile:

gem 'animate-css-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install animate-css-rails

Usage

  1. In your app/assets/javascripts/application.css you can include this line:

    *=require animate

However, if you use SASS i advise you to create a specific animate_and_overrides.css.scss file and include the animate.css via an Import statement:

@import 'animate';

Contributing

  1. Fork it ( https://github.com/[my-github-username]/animate-css-rails/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request