Home › Forums › Other › Responsive sprites / How to calculate percentage of position › Reply To: Responsive sprites / How to calculate percentage of position
March 13, 2014 at 3:12 am
#165633
Participant
I do it with a sprites.svg file
if you have 20 icons –> background-size: CALC(20 * 100%); = 2000%
background-position:-200% 0;
background-position:-1200% 0;
……..