Skip to content
πŸ’Ž The powerful Sass library for creating CSS transitions and animations
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist
docs chore: update v2.0.0 documentation Jun 5, 2018
lib Don't show private mixins or functions in docs, closes #29 Oct 19, 2015
src Merge branch 'develop' into release/v2.0.0 Jun 5, 2018
test Add out transitions to test page Feb 2, 2016
.gitignore Reformat how documentation is stored Sep 28, 2015
.npmignore Update bower.json and package.json and add .npmignore Oct 8, 2015
.scss-lint.yml Lint Sass Oct 14, 2015
.travis.yml chore: add TravisCI May 20, 2018
.versions chore: update Meteor .versions for v2.0.3 Jun 23, 2018
CHANGELOG.md docs: update CHANGELOG for v2.0.3 Jun 23, 2018
LICENSE updates for 2017 Jan 3, 2017
README.md docs: improve Autoprefixer installation notice in README Jun 12, 2018
bower.json chore: bump version for v2.0.3 Jun 23, 2018
composer.json chore: bump version for v2.0.3 Jun 23, 2018
gulpfile.js chore: update browser compatibility May 20, 2018
meteor-README.md docs: add missing block code types in README Jun 12, 2018
motion-ui.js Add missing semi colon Mar 3, 2016
motion-ui.scss Add documentation for animations and configuration Sep 1, 2015
package-lock.json chore: bump version for v2.0.3 Jun 23, 2018
package.js chore: bump version for v2.0.3 Jun 23, 2018
package.json chore: bump version for v2.0.3 Jun 23, 2018
yarn.lock chore: update Lockfiles Jun 10, 2018

README.md

Motion UI

Β  Β 

Install | Demo | Documentation | Releases


Build Status CDNJS dependencies Status devDependencies Status

πŸ’Ž The powerful Sass library for creating CSS transitions and animations. Originally integrated into Foundation for Apps, the code is now a standalone library, used by Foundation for Sites and Foundation for Apps. Made by your friends at ZURB.

Installation

Install Motion UI with npm or Bower.

npm install motion-ui --save
bower install motion-ui --save

Then to build with Sass (Autoprefixer is required):

// Add the load path "[modules_folder]/motion-ui/src" to your Sass configuration
@import 'motion-ui';

@include motion-ui-transitions;
@include motion-ui-animations;

Autoprefixer is required for the Sass installation as Motion UI uses unprefixed transition and animation properties. We recommend you to install PostCSS and Autoprefixer.

Or to use the equivalent pre-compiled CSS, import the Motion UI standalone CSS file dist/motion-ui.css or dist/motion-ui.min.css.

To easily transition elements in and out using Motion UI classes, import the Motion UI JavaScript library dist/motion-ui.js or dist/motion-ui.min.js.

See the full installation instructions

Demos

View live demos on the ZURB Playground.

Documentation

View the documentation here.

Develop Locally

git clone https://github.com/zurb/motion-ui
cd motion-ui
npm install
  • Run npm start to compile test Sass/JS files, and to build the documentation. To make changes to the documentation, edit the files under docs/src.
  • Run npm test to run the unit tests.
  • Run npm start dist to compile distribution files.
You can’t perform that action at this time.