プロジェクト
GitHubで見る
eliortabeka/sprite-spirit
概要
SCSS Mixin that Brings Image Sprite to life
デザイン・メディア計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルSprite Spirit
SCSS Mixin that Brings Image Sprite to life
Image Sprite to Animation Generator:
https://eliortabeka.github.io/sprite-spirit/
![]()
Quick start using CDN:
https://unpkg.com/[email protected]/scss/sprite-spirit.scss
Using npm:
npm install sprite-spirit
Using bower:
bower install sprite-spirit
Usage
Include Sprite Spirit Mixin in your project and then use it like:
@include spriteSpirit($name, $url, $vertical, $width, $height, $frameNum, $duration, $iteration, $reverse);
- $name - String - Animation Name
- $url - String - Image Sprite Path
- $vertical - Boolean - Vertical Sprite?
- $width - Number - Image Sprite Width
- $height - Number - Image Sprite Height
- $frameNum - String - Animation Frames
- $duration - Number - Animation Duration - .8 is Default
- $iteration - Number - Animation Iteration - 0 is Default (Infinity)
- $reverse - Boolean - Reverse Animation - false is Default
Demo of Usage
http://codepen.io/eliortabeka/pen/ObPRrw
Credit
Handcrafted with love by Elior Shalev Tabeka
関連プロジェクトを探す
読み込み中…