jakearchibald / sprite-cow

Sprite Cow helps you get the background-position, width and height of sprites within a spritesheet as a nice bit of copyable css.
http://www.spritecow.com
Other
1.3k stars 129 forks source link

Add CSS Multiple line with Run Class Number #54

Open mean-cj opened 10 years ago

mean-cj commented 10 years ago

https://github.com/mean-cj/sprite-cow/blob/master/www/assets/8/script/CssOutput.js

Add Run Class Number After Click Image position

.sprite_1 { background: url('imgs/ProductPack_03.jpg') no-repeat -64px -24px; width: 96px; height: 88px; }

.sprite_2 { background: url('imgs/ProductPack_03.jpg') no-repeat -224px -24px; width: 96px; height: 80px; }

.sprite_3 { background: url('imgs/ProductPack_03.jpg') no-repeat -408px -16px; width: 88px; height: 88px; }


Fix Overflow https://github.com/mean-cj/sprite-cow/blob/master/www/assets/8/style/all.css

.canvas-inner { min-height:400px; }