HTML:
css:.loading {
display: none;
position: fixed;
height: 100%;
z-index: 999;
width: 100%;
top: 0;
left: 0;
background-color: rgba(148, 147, 150, 0.4);
}
.loading img {
display: block;
position: absolute;
top: 50%;
left: 50%;
margin-left: -25px;
margin-top: -25px;
}
我让他执行的时候,$(".loading").show();
但是他就是在safari浏览器中不显示,但是在其他浏览器都是好的