Flip Mirroring in IE8 - CSS

As above, how can I flip the image in IE8.

-moz-transform: scaleX(-1); -o-transform: scaleX(-1); -webkit-transform: scaleX(-1); transform: scaleX(-1); filter: FlipH; -ms-filter: "FlipH"; 

This works fine, but not in IE8

+4
source share
1 answer

filter:fliph should work in IE4-8, even without the -ms- prefix (which was only needed for early beta versions of IE8). You should probably add filter:fliph() parentheses as this demo . You can also try the new IE5.5-9 syntax - filter: DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1) (as MSDN recommends).

Older versions of IE required that an element have a layout for applying filters to it (how to describe an element with a layout), but AFAIK, IE8 does not require it.

+6
source

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


All Articles