Answer the question
In order to leave comments, you need to log in
Is it possible to change the size of the sprite icon?
Hello. In general, there are i icons, the path to the big picture is indicated through the pseudoclass - a set of icons and through the background-position they are selected. But for some reason it is not possible to change the size of the icon - make it smaller. It just cuts off the icon. How to be?
Answer the question
In order to leave comments, you need to log in
Use the background-size property to set the desired size for the sprite. Then set the required size for the i tag . Is not it so?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question