Reputation: 184
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
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