CSS Sprites - not only for background images?

后端 未结 5 539
-上瘾入骨i
-上瘾入骨i 2021-01-02 04:00

Is it possible to use CSS sprites for \"foreground\" images -- i.e. images that users are supposed to click on and interact with and maybe even print?

Instead of usi

5条回答
  •  离开以前
    2021-01-02 04:43

    You can use a standard tag and put it in a container (like a

    ) with a limited height/width. Then use relative positioning or negative margins to control the position of the image.

提交回复
热议问题