您的位置:首页 > Web前端 > CSS

css loading

2016-07-21 09:30 549 查看
<style type="text/css">
.test {
position: relative;
width: 200px;
height: 200px;
margin: 100px;
border: 10px solid #f00;
}
.test-loading-img {
background: url(Css/Themes/Default/Images/ajax-loader.gif) no-repeat;
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
margin: 0px;
width: inherit;
height: inherit;
position: absolute;
background-position-x: 50%;
background-position-y: 50%;
background-color: #000;
opacity: 0.6;
}
</style>
<div id="dd" class="test">
<div>数据内容省略</div>
<div class="test-loading-img"></div>
</div>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  css-悬浮