0
Firefox position bug by parent with "filter"位置:固定的作品像位置:在Firefox中使用絕對CSS濾鏡時
我已閱讀上述問題,它在Firefox中使用CSS濾鏡罰款position: absolute
。但使用CSS過濾器的position: fixed
仍然不如預期。在Firefox position: fixed
使用CSS過濾器的工作原理是position: absolute
,如下圖所示:
html {
-moz-filter: grayscale(100%);
filter: grayscale(100%);
height: 100%;
}
img{
position: fixed;
bottom: 10px;
right: 10px;
}
div {
margin-top: 10000px;
}
<img src="https://www.google.com/images/srpr/logo3w.png">
<div id="b">The end.</div>
誰能解決這個問題?