Internet Explorer CSS property “filter” ignores overflow:visible

前端 未结 2 562
别那么骄傲
别那么骄傲 2021-02-13 13:36

Apparently Internet Explorer (up to version 8 at least) ignores overflow:visible when applying filter (e.g. for opacity), causing anything outside the filtered

2条回答
  •  孤街浪徒
    2021-02-13 14:27

    It seems that the workaround to this is simple: Use -ms-filter rather than filter:

    -ms-filter:'progid:DXImageTransform.Microsoft.Alpha(opacity=50)';
    

提交回复
热议问题