CSS Sprites Automation -


recently dealed css sprites. it's working fine.

i created sprite, .css-file , html-structure. looks like

.sprites{          background-image:url('../img/sprite.png');          background-color:transparent;          background-repeat:no-repeat;          height:44px;          width:44px;   } .pic1            {background-position:0 0;} .pic2            {background-position:-44px 0;}     <div class="outer"><div class="sprites ${image}"></div></div> 

${image} chooses class if condition true.

i create sprite, css , html manually. have used generator, code have been same.

is there way create sprites , css autmatically e.g. java? if there folder 50 images program -which has written guess- shall create sprite , relevant css-attributes itself. possible? have heard of such program yet?

it possible.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -