motion-ui

? The powerful Sass library for creating CSS transitions and animations

  • 所有者: foundation/motion-ui
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖


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.

主要指標

概覽
名稱與所有者foundation/motion-ui
主編程語言SCSS
編程語言JavaScript (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2015-03-19 23:07:39
推送於2024-09-26 21:51:12
最后一次提交2024-09-26 14:51:01
發布數19
最新版本名稱2.0.6 (發布於 2024-09-26 13:53:21)
第一版名稱v1.0.0 (發布於 )
用户参与
星數1.2k
關注者數68
派生數171
提交數290
已啟用問題?
問題數81
打開的問題數13
拉請求數55
打開的拉請求數4
關閉的拉請求數17
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?