프로젝트
GitHub에서 보기
eliortabeka/sprite-spirit
소개
SCSS Mixin that Brings Image Sprite to life
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalSprite 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
관련 프로젝트 살펴보기
불러오는 중…