CSS Loading 特效
2017-07-18 17:50
211 查看
全页面遮罩效果loading
css:
html:
css:
.loading_shade { position: fixed; left: 0; top: 0; width: 100%; height: 100%; display: -webkit-box; -webkit-box-pack: center; -webkit-box-align: center; background: rgba(255,255,255,.7); z-index: 99 } .loading_box { padding: 30px; box-sizing: border-box; -webkit-box-sizing: border-box } .loading_box .loading { width: 100px; height: 100px; margin: 0 auto; background-color: #ff8814; border-radius: 100%; -webkit-animation: load_scaleout 1s infinite ease-in-out; animation: load_scaleout 1s infinite ease-in-out } .loading_box .loading_text { text-align: center; color: #333; font-size: .12rem } @-webkit-keyframes load_scaleout { 0% { -webkit-transform: scale(0) } 100% { -webkit-transform: scale(1); opacity: 0 } } @keyframes load_scaleout { 0% { transform: scale(.1); -webkit-transform: scale(.1) } 100% { transform: scale(1.5); -webkit-transform: scale(1.5); opacity: 0 } } .loading_oneline_box { font-size: .12rem; color: #FFF; text-align: center }
html:
<section class="loading_shade" id="J_loading_box"> <div class="loading_box"> <div class="loading"></div> <p class="loading_text">努力加载中...</p> </div> </section>
相关文章推荐
- CSS 的loading特效
- 【技巧】css loading 加载中动画特效39种
- CSS中的Filter样式特效3
- CSS实现的loading页面等待效果
- iHover – 30+ 纯 CSS 实现的超炫的图片悬停特效
- 不用gif图,用js+css实现loading效果
- 网格加载 8种css3网格加载特效GridLoadingEffects
- 纯CSS 仿某网站 loading加载动画
- 巧用CSS制作图象特效
- CSS特效之透明 rgba
- Input + Css + Javascript 特效
- CSS自学笔记(12):CSS3文字特效
- jquery滚动条美化Scrollbar设置浏览器默认滚动条CSS美化样式特效
- 7 款华丽的 HTML5 Loading 动画特效
- 漂亮的下拉列表 select样式 css处理 特效
- JS+CSS实现可拖拽的漂亮圆角特效弹出层完整实例
- 兼容标准XHTML的浮动层特效的CSS实现(转载于Zeal的blog )
- js+css制作悬浮提示层弹出特效
- 页面头部带loading进度指示的jQuery滚动页面特效