Forums

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

Home Forums CSS percentage problem in firefox

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #152101
    asma
    Participant

    im moving an image whith the css below. it works perfectly in chrome but in firefox percentage is not working same as in chrome i mean my image moves 45% forward in chrome but in firefox it moves very little.

    `-webkit-transform: translateX(45%);
    -webkit-transition: -webkit-transform 1s ;
    -moz-transform: translateX(20%);
    -moz-transition: -moz-transform 1s ;`

    #152108
    Paulie_D
    Moderator

    Why are your two percentages different?

    Also, we can’t diagnose properly out of context. We need a live link or a Codepen

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