PNG encoded with multiple images + use HTML

I have a PNG with several images encoded in it. How to use all images in HTML, by default for the mouse, to use another (I do not want to create different images and work).

Are there any examples?

+3
source share
2 answers

If you mean that you have a bunch stored together in one large image, check out CSS Sprites .

If you mean something else, good luck. Try to recycle them in sprites .: D

+4
source
+3
source

Source: https://habr.com/ru/post/1735237/


All Articles