Css opera位置固定到固定元素并调整bug大小?
我使用了2个固定位置的div,调整大小后,opera不会重新绘制元素Css opera位置固定到固定元素并调整bug大小?,css,opera,fixed,Css,Opera,Fixed,我使用了2个固定位置的div,调整大小后,opera不会重新绘制元素 #wrapper{ position:fixed; z-index:10000; height: auto; background-color: transparent; margin: 0; } #label { position: fixed; bottom:0px; left: 50%; background-color: transparent;
#wrapper{
position:fixed;
z-index:10000;
height: auto;
background-color: transparent;
margin: 0;
}
#label {
position: fixed;
bottom:0px;
left: 50%;
background-color: transparent;
z-index: 9999999;
height: 40px;
width: 200px;
border: 1px solid red;
margin-left:-100px;
}
<div id="wrapper">
<div id="label">content</div>
</div>
#包装器{
位置:固定;
z指数:10000;
高度:自动;
背景色:透明;
保证金:0;
}
#标签{
位置:固定;
底部:0px;
左:50%;
背景色:透明;
z指数:999999;
高度:40px;
宽度:200px;
边框:1px纯红;
左边距:-100px;
}
内容
你可以在这里看到这个错误
只需在Opera浏览器中加载页面并调整窗口大小
请帮我写这个css
css
#wrapper{
position:fixed;
z-index:10000;
height: auto;
background-color: transparent;
margin: 0;
bottom:0;
left:0;
right:0;
}
#label {
position: relative;
bottom:0px;
left: 50%;
background-color: transparent;
height: 40px;
width: 200px;
border: 1px solid red;
margin-left:-100px;
}