html5 自定义遮罩(css,html,web,移动开发)

时间:2024-04-29 06:01:30 作者 : 石家庄SEO 分类 : 移动开发
  • TAG :

ys_loading.css

.ys-loading{position:fixed;top:0;bottom:0;left:0;right:0;z-index:9999;}.ys-loadingem{position:absolute;left:0;right:0;top:0;bottom:0;width:44px;height:44px;margin:auto;border-radius:22px;opacity:0.3;overflow:hidden;}.ys-loadingem:before{content:"";display:block;width:46px;height:46px;background:url(../../p_w_picpaths/common/ajax-loader.gif)no-repeatcentercenter;background-size:contain;margin-top:-1px;margin-left:-1px;}

ys_loading.js

(function($){varcontainer=null;varhtml="<divclass='ys-loading'><em></em></div>";functionrender(){container=$(html).appendTo("body");}varinitialized=false;functioninit(){if(initialized){return;}initialized=true;render();}varLoadingWidget={showLoading:function(){init();container.show();},hideLoading:function(){container.hide();}};window.LoadingWidget=LoadingWidget;})(jQuery);

html5 自定义遮罩

 </div> <div class="zixun-tj-product adv-bottom"></div> </div> </div> <div class="prve-next-news">
本文:html5 自定义遮罩的详细内容,希望对您有所帮助,信息来源于网络。
上一篇:无需Flash录视频——HTML5中级进阶下一篇:

15 人围观 / 0 条评论 ↓快速评论↓

(必须)

(必须,保密)

阿狸1 阿狸2 阿狸3 阿狸4 阿狸5 阿狸6 阿狸7 阿狸8 阿狸9 阿狸10 阿狸11 阿狸12 阿狸13 阿狸14 阿狸15 阿狸16 阿狸17 阿狸18