Is it possible to "stretch" the sprite?

I have a sprite
.user_unit_bm I I. unit_UA_1{ 
 background-position: 0-264px; 
 width: 35px; 
 height: 23px; 
}

I need to increase it by half. Can you advise to make more sprites but the problem is that I have no pictures necessary (I barely found the appropriate icon and then in the finished sprite).
July 9th 19 at 10:36
1 answer
July 9th 19 at 10:38
Solution
You can stretch with background-size. Here is an example.
https://jsfiddle.net/usanewn5/1/
Only in this case will be a loss of quality of the sprite.
https://jsfiddle.net/usanewn5/3/ - Brody_Dickins commented on July 9th 19 at 10:41
https://jsfiddle.net/usanewn5/4/ - Trent_Pfannerstill commented on July 9th 19 at 10:44
: 1918px that - Brody_Dickins commented on July 9th 19 at 10:47
The original picture size 35x959, we increased it 2 times. - Trent_Pfannerstill commented on July 9th 19 at 10:50
: AAA. Understood. - Brody_Dickins commented on July 9th 19 at 10:53

Find more questions by tags CSSHTMLJavaScript