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的那些事
- css的div垂直居中的方法,百分比div垂直居中
- Html样式布局复习
- CSS单位(字体)
- css 设置背景图片模糊,内容不模糊
- CSS中的auto讲解
- 前端屏幕尺寸诸多,根绝不同屏幕显示特定的样式
- css动画 简单的记录
- css之框模型(盒子模型)、默认样式初始化、选择器和伪类
- css中的外边距合并时垂直方向上的普通流相邻元素间
- css中BFC元素是什么?
- css引入方式
- CSS中不为人知Zoom属性的使用介绍(IE私有属性)
- css引入方式
- css之常用样式及display样式
- 【CSS】过渡、动画和变换
- css之伪类选择器:before :after(::before ::after)
- 小技巧-css绝对定位-使块级元素在某区域垂直和水平居中。
- [CSS] Make element not selectable
- html和css