gpt4 book ai didi

html - GIF 未在 Chrome 中显示

转载 作者:太空宇宙 更新时间:2023-11-04 13:14:42 25 4
gpt4 key购买 nike

我正在使用 CSS(如下)。 loading64.gif 在 FF 和 IE 中始终可见,但在 chrome 中不可见。我在 colorbox 中使用“.loading”。我无法解决这个问题。

HTML:

<center><div class="loading" id="loaderImg"><span class="waiting-info"></span></div></center>

CSS:

.loading {
background: url(resources/base/img/loading64.gif) no-repeat center center transparent;
background-color: #ffffff;
float: left;
height: 100%;
min-height: 333px;
width: 100% !important;
z-index: 444;
position: absolute;
opacity: 0.9;
left: 0;
top: 0;
}

Screenshots

最佳答案

尝试设置一个绝对宽度(例如 100 像素)而不是 100%。根据父容器及其样式,您可能有一个宽度为 0 的 div,这将解释这一点。

关于html - GIF 未在 Chrome 中显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29698981/

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