Have you wondered how to use sprite images in Webflow? Well I have successfully done it and thought it would be useful to post a quick tutorial so others could do it as well.
Steps
- Create a DIV and set the height and width for the size of the image that will show
- Set sprite as background image of the DIV
- Set width on background image to AUTO and height to the actual pixel height of sprite image
- Set position of sprite image based on your sprite’s CSS
- Set Tile and Fixed to NO
Here is a page that shows what happens and the sprite image that I used. Each picture is 300 x 300 pixels.
https://webflow.com/design/sharks11u-milanovich1260347?preview=76fa48d8d58183ee9e67c2f95e868f9a