ICE
ICE

Reputation: 31

How to remove cross browser effect in css

How to remove cross browser effect in css using javascript or jquery or php or any script for remove all cross browser effects in css

ex:

-moz-transform: matrix(0.99998, -0.00638621, 0.00638621, 0.99998, 0, 0); 
    -o-transform: matrix(0.99998, -0.00638621, 0.00638621, 0.99998, 0, 0);
    -webkit-transform : matrix(0.99998, -0.00638621, 0.00638621, 0.99998, 0, 0);
    -ms-transform : matrix(0.99998, -0.00638621, 0.00638621, 0.99998, 0, 0);

i need that if i write css as -moz-transform:matrix(0.99998, -0.00638621, 0.00638621, 0.99998, 0, 0); it should apply for any browser, nothin change in chrome IE or safari or etc

thank you

Upvotes: 1

Views: 416

Answers (2)

Okonomiyaki3000
Okonomiyaki3000

Reputation: 3696

If you only want to write this line one time, you should write it like this:

transform: matrix(0.99998, -0.00638621, 0.00638621, 0.99998, 0, 0);

And then wait until transform is part of the official standard and all browsers recognize it. Until then, maybe http://prefixr.com/ will help you. There is a reason that the prefix is still required. Please understand that reason.

Upvotes: 1

sandeep
sandeep

Reputation: 92813

There is a JS plugin for this http://leaverou.github.com/prefixfree/ may be that's help you

Upvotes: 2

Related Questions