Is there a polyfill for css conversion property in IE8

I have the following mixing for translational translation:

.transform (...) { -webkit-transform: @arguments; /* Chrome, Opera 15+, Safari 3.1+ */ -moz-transform: @arguments; /* Firefox 3.5+ */ -ms-transform: @arguments; /* IE 9 */ -o-transform: @arguments; /* Opera 10.5+ */ transform: @arguments; /* Firefox 16+, IE 10+, Opera */ } .translate(@x:0, @y:0) { .transform(translate(@x, @y)); } 

And apply it something like this:

 #main { .translate(280px, 0); } 

But this is not wotk in IE8 and Opera mini . Is there a reserve, polyfill or any for support therese browsers?

+6
source share
1 answer

There are several ways you can use from the ones suggested by modenizer:

sandpaper css and transformie .

I would argue that adding pollyfills to an older browser, such as ie8, reduces the performance of a browser that has already passed it and reduces the user interface. In addition, if you add pollyfills to mobile browsers, you add to the download time, which in the 3G connection can disconnect users.

+9
source

Source: https://habr.com/ru/post/983204/


All Articles