Streaming live at 10am (PST)

Using Sprites in Webflow

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.

  1. Create a DIV and set the height and width for the size of the image that will show
  2. Set sprite as background image of the DIV
  3. Set width on background image to AUTO and height to the actual pixel height of sprite image
  4. Set position of sprite image based on your sprite’s CSS
  5. 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.

you can also use this technique for only the photos. When you want to make an overlay, you can do so with the webflow interactions.