[英]How to have a Loading Spinner Animation on top of a Bootstrap Modal
我想在button
点击时有一个微调动画。 当没有Bootstrap模式打开时,这可以在页面中正常工作。 但是当Bootstrap Modal打开时,Spinner隐藏在Bootstrap Modal后面
我试过这个
期望Spinner高于Modal Bootstrap
你必须给一个更大z-index
到加载微调,比模态的z-index
。
我们试试这个:
#loadingoverlay {
position: fixed;
top: 0;
z-index: 9999;
width: 100%;
height: 100%;
display: none;
background: rgba(0,0,0,0.6);
}
提供z-index值。 那就是创造问题
z-index:9999;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.