high resolution CSS sprites

前端 未结 3 1863
慢半拍i
慢半拍i 2021-01-19 21:30

I\'m generating CSS sprites. I want to use these sprites at multiple sizes. I\'ve searched but haven\'t been able to figure out how to functionally scale a CSS sprite--e.g

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-19 22:12

    I know of no way to change the size of a CSS sprite, sorry.

    As for generating the CSS Sprites, try: http://spriteme.org/

    Or for general image editing: http://www.gimp.org/

    You could edit the individual image components, and then use SpriteMe to generate the Sprite. You don't want to generate the sprite and then resize the entire Sprite image, as then your CSS positions for each individual element would be thrown off.

提交回复
热议问题