Forums

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

Home Forums CSS Background Position with Negative Percentage

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #35532
    Taufik Nurrohman
    Participant

    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?

    like this:

    background-position: -10% 0px;

    (???)

Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.