Pratik Pambhar
Pratik Pambhar

Reputation: 184

How to make image looks smaller in size that is taken from any image-sprite not a single image?

i have one image sprite and i want certain portion of it to looks smaller in size using css?? Have you got any suggestions..??? Thanks in anticipation.

Upvotes: 0

Views: 254

Answers (1)

joaobarbosa
joaobarbosa

Reputation: 630

No way using CSS2. However, using CSS3 you can do it using backgound-size property, in case your sprite is set as background of an element.

See examples of how to do this in this question: set size on background image with css

Upvotes: 2

Related Questions