Im making a image sprite sheet. The icons need to be half the size on mobile so the background-size needs to be half of the original image.
Is the only way to do this to set the background-size property in PX?
In some instances the images need to be 3/4 or there original size so being able to specify the background size as a ratio of the original image would be quicker and make the code easier to read.