Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Responsive Sprites using Compass/SASS? Re: Responsive Sprites using Compass/SASS?

#124507
Preface Studios Ltd
Participant

I’ve been looking for a solution to this all day, I agree its strange that there isn’t a lot of information out there. Here are a couple of links I’ve found today that have helped me.

http://stackoverflow.com/questions/9151625/fluid-layout-and-css-sprites
http://chiefalchemist.com/responsive-css-sprites-proof-of-concept-v0-1-0/

I’ve managed to get my sprite responsive using an SVG file using the method used in that second URL. I’ll post a more detailed reply tomorrow. You can see where I am so far here: http://www.elliotscott.co.uk/temp/svg/

I’m sure there must be a way of doing this using background images with css and background-size/background-position but I have no idea how!