0

I created a draggable widget that is working nicely in localhost and chrome, but in firefox it didn't work properly

this code also I included

 moz-transform: scaleX(-1) scaleY(-1);
    -o-transform: scaleX(-1) scaleY(-1);
    -webkit-transform: scaleX(-1) scaleY(-1);
    transform: scaleX(-1) scaleY(-1);

can you give some suggestions

Lucas Meine
  • 1,524
  • 4
  • 23
  • 32
jayanes
  • 584
  • 6
  • 10
  • 21

1 Answers1

1

There was a typo in your Mozilla rule. Anyway, try the following CSS to achieve a full cross-browser compatibility:

.my_element
{
    -webkit-transform: scaleX(-1) scaleY(-1);
    -moz-transform: scaleX(-1) scaleY(-1);
    -ms-transform: scaleX(-1) scaleY(-1);
    -o-transform: scaleX(-1) scaleY(-1);
    transform: scaleX(-1) scaleY(-1);
}
Tommaso Belluzzo
  • 23,232
  • 8
  • 74
  • 98