I was doing a weird experiment (just fill out my spare time). Create an image transition effect with extra elements such as Nivo Slider. Each image consists of 10 pieces. My knowledge this will be more effective if the size of the width and the left value is converted to a percentage so that it becomes more responsive.
The problem is, I can't write a negative percentage in the background-position. Is there a technique to change the CSS background-position with negative percentages?
The problem is, I can't write a negative percentage in the
background-position. Is there a technique to change the CSSbackground-positionwith negative percentages?like this:
(???)
try setting up a jsfiddle or tinkerbin to illustrate your problem.