gpt4 book ai didi

CSS 在 IE 中有效,但在 Chrome 中无效

转载 作者:太空宇宙 更新时间:2023-11-04 04:59:09 26 4
gpt4 key购买 nike

我的 Modal Popup 扩展器的 CSS 在 Chrome 中不工作,但在 IE 中工作得很好。

这是我的 CSS:

.modalBackground
{
background-color:#250517;
opacity:0.5;
filter: alpha(opacity = 50);
}

.modalPopup
{
background-color:White;
border-width:3px;
border-style:solid;
border-color:Black;
padding:3px;
width:250px;
height:300px;

}

这是 IE 的屏幕截图,CSS 在其中完美运行:

这是 Chrome 的屏幕截图,其中 CSS 不起作用:

最佳答案

.modalBackground {
background: #250517;
opacity: 0.5;
filter: alpha(opacity=50);
}

.modalPopup {
background: #FFF;
border: solid 3px #000;
display: block;
padding: 3px;
width: 250px;
height: 300px;
}

关于CSS 在 IE 中有效,但在 Chrome 中无效,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11813227/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com