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.
            Asked
            
        
        
            Active
            
        
            Viewed 254 times
        
    0
            
            
        - 
                    The idea of sprite is to capture the image based on its position. You might have to create 2 sprite images for your purpose. – Dennis Rongo Jan 23 '13 at 14:03
 
1 Answers
2
            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
        Community
        
- 1
 - 1
 
        joaobarbosa
        
- 630
 - 5
 - 13
 
- 
                    2Yes background-size should work fine in your case, Try something like background-size: 100px auto; Change 100px to your desidred width of the image. – kiranvj Jan 30 '13 at 05:10