好!欢迎访问迷津渡口 现在时间是: 天气 °C ~ °C

迷津渡口

越感到迷惑 越接近真理

css3+jQuery实现载入圆圈动画提示

载入网页的时候,在页面左下角显示动画提示载入中和已完成.

完成后隐藏,完全不需要图片,只需要css3,html和jquery实现.

话不多说,小指直接就分享代码了:

首先在<body>下面添加html和script代码:

<div id="circle" style="display: block;"></div>
<div id="circletext" style="display: block;"></div>
<div id="circle1" style="display: block;"></div>
<script type="text/javascript">
    $(function () {
        $("#circletext").text("加载中");
        $(window).load(function() {
        	$("#circle").fadeOut(400);
        	$("#circle1").fadeOut(600);
        	$("#circletext").text("已完成").fadeOut(800);
        });
    });
</script>

添加动画样式,可用<style>包裹添加到<head></head>之间,或者添加到css样式表文件里.

#circle{background-color:rgba(0,0,0,0);border:5px solid rgba(10,10,10,0.9);opacity:.9;border-right:5px solid rgba
(0,0,0,0);border-left:5px solid rgba(0,0,0,0);border-radius:50px;box-shadow:0 0 35px #808080;width:60px;height:60px;margin:0 auto;position:fixed;left:30px;bottom:30px;-moz-animation:spinPulse 1s infinite linear;-webkit-animation:spinPulse 1s infinite linear;-o-animation:spinPulse 1s infinite linear;-ms-animation:spinPulse 1s infinite linear;}
#circle1{background-color:rgba(0,0,0,0);border:6px solid rgba(20,20,20,0.9);opacity:.9;border-left:6px solid rgba(0,0,0,0);border-right:6px solid rgba(0,0,0,0);border-radius:50px;box-shadow:0 0 15px #202020;width:40px;height:40px;margin:0 auto;position:fixed;left:39px;bottom:39px;-moz-animation:spinoffPulse 1s infinite linear;-webkit-animation:spinoffPulse 1s infinite linear;-o-animation:spinoffPulse 1s infinite linear;-ms-animation:spinoffPulse 1s infinite linear;}
#circletext{font-size:14px;width:46px;height:20px;margin:0 auto;position:fixed;left:46px;bottom:53px;}
@-moz-keyframes spinPulse{0%{-moz-transform:rotate(160deg);opacity:0;box-shadow:0 0 1px #505050;}50%{-moz-transform:rotate(145deg);opacity:1;}100%{-moz-transform:rotate(-320deg);opacity:0;}}
@-moz-keyframes spinoffPulse{0%{-moz-transform:rotate(0deg);}100%{-moz-transform:rotate(360deg);}}
@-webkit-keyframes spinPulse{0%{-webkit-transform:rotate(160deg);opacity:0;box-shadow:0 0 1px #505050;}50%{-webkit-transform:rotate(145deg);opacity:1;}100%{-webkit-transform:rotate(-320deg);opacity:0;}}
@-webkit-keyframes spinoffPulse{0%{-webkit-transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);}}
@-o-keyframes spinPulse{0%{-o-transform:rotate(160deg);opacity:0;box-shadow:0 0 1px #505050;}50%{-o-transform:rotate(145deg);opacity:1;}100%{-o-transform:rotate(-320deg);opacity:0;}}
@-o-keyframes spinoffPulse{0%{-o-transform:rotate(0deg);}100%{-o-transform:rotate(360deg);}}
@-ms-keyframes spinPulse{0%{-ms-transform:rotate(160deg);opacity:0;box-shadow:0 0 1px #505050;}50%{-ms-transform:rotate(145deg);opacity:1;}100%{-ms-transform:rotate(-320deg);opacity:0;}}
@-ms-keyframes spinoffPulse{0%{-ms-transform:rotate(0deg);}100%{-ms-transform:rotate(360deg);}}


搞定了,自己试试吧~效果还是挺炫的^_^

点赞1
   支持一下
挤眼 亲亲 咆哮 开心 想想 可怜 糗大了 委屈 哈哈 小声点 右哼哼 左哼哼 疑问 坏笑 赚钱啦 悲伤 耍酷 勾引 厉害 握手 耶 嘻嘻 害羞 鼓掌 馋嘴 抓狂 抱抱 围观 威武 给力
 点赞
 签到
 表情
 图片
 代码
提交评论

清空信息
关闭评论
vuduchoan
 vuduchoan 约 3 小时前回复
#161
<a href="http://www.lagunawoodsre.com/dallas-cowboys-pom-hat-hath">dallas cowboys pom hat</a> <a href="http://www.highbacklink.com/hommes-asics-gel-sendai-2-oranger-violet-chaussuresh">hommes asics gel sendai 2 oranger violet</a> <a href="http://www.vuurogen.com/adidas-neo-high-gris-bleu-chaussuresj">adidas neo high gris bleu</a> <a href="http://www.rsvppersonnel.com/nike-roshe-run-gray-schwarz-schuhej">nike roshe run gray schwarz</a> <a href="http://www.shonema.com/air-jordan-retro-10-kvinders-gr%C3%B8n-guld-skok">air jordan retro 10 kvinders gr酶n guld</a> <a href="http://www.enventsurvey.com/nike-kd-8-grigio-verde-scarpeh">nike kd 8 grigio verde</a>
vuduchoan http://www.vuduchoan.com/
iotlsebring
 iotlsebring 约 13 小时前回复
#160
<a href="http://www.clashopedia.com/nike-air-pegasus-89-marine-bleu-chaussuresh">nike air pegasus 89 marine bleu</a> <a href="http://www.adamomacri.com/nike-air-force-one-smoke-grau-blazer-schuheh">nike air force one smoke grau blazer</a> <a href="http://www.waltonranchtx.com/adidas-predator-mania-comprar-shoesk">adidas predator mania comprar</a> <a href="http://www.dominickcars.com/nike-air-max-thea-sort-gr%C3%A5-print-trainers-skoj">nike air max thea sort gr氓 print trainers</a> <a href="http://www.libertactica.com/nike-tiempo-legend-v-fg-rosa-schwarz-grau-schuheh">nike tiempo legend v fg rosa schwarz grau</a> <a href="http://www.flixzine.com/nike-air-max-one-grey-shoesk">nike air max one grey</a>
iotlsebring http://www.iotlsebring.com/
ankaraoyunevi
 ankaraoyunevi 约 14 小时前回复
#159
<a href="http://www.retailnav.com/nike-zoom-winflo-3-purple-shoesk">nike zoom winflo 3 purple</a> <a href="http://www.merleflugge.com/michael-kors-brown-bag-with-gold-studs-mkh">michael kors brown bag with gold studs</a> <a href="http://www.airfarelinks.com/adidas-superstar-svart-r%C3%B8d-shark-obuvi">adidas superstar svart r酶d shark</a> <a href="http://www.vidiyow.com/air-jordan-retro-2-bianca-grigio-scarpek">air jordan retro 2 bianca grigio</a> <a href="http://www.quiveutdescds.com/adidas-superstar-shoes-black-gold-shoesi">adidas superstar shoes black gold</a> <a href="http://www.wapkaa.com/clear-rosado-adidas-eqt-support-adv-zapatosi">clear rosado adidas eqt support adv</a>
ankaraoyunevi http://www.ankaraoyunevi.com/
sgeventportal
 sgeventportal 2019-04-18 06:06回复
#158
<a href="http://www.reviewtogel.com/adidas-superstar-nero-and-bianca-suede-scarpek">adidas superstar nero and bianca suede</a> <a href="http://www.igrejamormon.com/white-nike-shoes-free-runs-shoesi">white nike shoes free runs</a> <a href="http://www.skonya.com/nike-air-max-95boot-military-verde-negro-zapatosi">nike air max 95boot military verde negro</a> <a href="http://www.monsterplate.com/new-jordan-ultra-fly-obsidian-infrar%C3%B8d-23-deep-skoh">new jordan ultra fly obsidian infrar酶d 23 deep</a> <a href="http://www.kentimpendik.com/femminile-nike-air-presto-ultra-flyknit-arancia-nero-scarpei">femminile nike air presto ultra flyknit arancia nero</a> <a href="http://www.attivopizza.com/nero-and-blu-nike-cortez-scarpej">nero and blu nike cortez</a>
sgeventportal http://www.sgeventportal.com/
almarsecurity
 almarsecurity 2019-04-18 03:04回复
#157
<a href="http://www.atrapaniapp.com/femmes-asics-gel-kinsei-5-oranger-gris-chaussuresl">femmes asics gel kinsei 5 oranger gris</a> <a href="http://www.maplebeyond.com/herren-nike-air-force-1-wei%C3%9F-gr%C3%BCn-schuhei">herren nike air force 1 wei脽 gr眉n</a> <a href="http://www.collisionsix.com/air-jordan-retro-3-dam%C3%A4nner-silber-minzgr%C3%BCn-schuheh">air jordan retro 3 dam盲nner silber minzgr眉n</a> <a href="http://www.todololitas.com/air-jordan-retro-13-kvinners-gull-r%C3%B8d-obuvj">air jordan retro 13 kvinners gull r酶d</a> <a href="http://www.jcwjrlaw.com/maschio-asics-gel-noosa-tri-8-blu-gituttio-scarpek">maschio asics gel noosa tri 8 blu gituttio</a> <a href="http://www.vstsblog.com/femmes-adidas-zx-750-hommesthe-verte-chaussuresh">femmes adidas zx 750 hommesthe verte</a>
almarsecurity http://www.almarsecurity.com/
eistyles
 eistyles 2019-04-17 15:34回复
#156
<a href="http://www.mistopup.com/nike-cortez-basic-leather-06-white-black-orange-shoesi">nike cortez basic leather 06 white black orange</a> <a href="http://www.sporbahispro.com/maschio-nike-air-max-2017-rosso-blu-scarpej">maschio nike air max 2017 rosso blu</a> <a href="http://www.kalrakis.com/air-jordan-retro-12-low-wei%C3%9F-grau-schuhej">air jordan retro 12 low wei脽 grau</a> <a href="http://www.xinyudaili.com/buffalo-bills-skull-cap-hath">buffalo bills skull cap</a> <a href="http://www.marieluwasche.com/nikelab-air-max-90-pinnacle-noir-chaussuresh">nikelab air max 90 pinnacle noir</a> <a href="http://www.ferrepress.com/nike-roshe-rot-and-grau-schuheh">nike roshe rot and grau</a>
[url=http://www.eistyles.com/]eistyles[/url]
iamsamcollier
 iamsamcollier 2019-04-17 11:14回复
#155
<a href="http://www.facenextday.com/air-max-95-gull-items-scarped">air max 95 gull items</a> <a href="http://www.mellowsblues.com/nike-roshe-run-verkauf-zwart-obuvc">nike roshe run verkauf zwart</a> <a href="http://www.stackdotnet.com/maschio-nike-roshe-run-speckle-arancia-oro-chaussuresg">maschio nike roshe run speckle arancia oro</a> <a href="http://www.donatelia.com/air-jordan-10-retro-dam%C3%A4nner-wei%C3%9F-violet-gelb-chaussuresa">air jordan 10 retro dam盲nner wei脽 violet gelb</a> <a href="http://www.jafcosupply.com/nike-air-max-90-negro-rosado-butya">nike air max 90 negro rosado</a> <a href="http://www.kanaldtvizle.com/hombres-supra-skytop-negro-cielo-azul-butyd">hombres supra skytop negro cielo azul</a>
iamsamcollier http://www.iamsamcollier.com/
prformusic
 prformusic 2019-04-17 05:26回复
#154
<a href="http://www.sugarforspice.com/nike-free-inneva-stadium-gr%C3%A5-skoi">nike free inneva stadium gr氓</a> <a href="http://www.mybancorphsa.com/nike-air-pegasus-92-arancia-bianca-scarpeq">nike air pegasus 92 arancia bianca</a> <a href="http://www.scopatore.com/air-jordan-super-fly-white-shoesj">air jordan super fly white</a> <a href="http://www.galacticlogos.com/mk-berkley-logo-large-white-multicolor-clutches-mkh">mk berkley logo large white multicolor clutches</a> <a href="http://www.ispardmore.com/nike-zoom-pegasus-34-kvinners-lilla-himmelen-bl%C3%A5-obuvi">nike zoom pegasus 34 kvinners lilla himmelen bl氓</a> <a href="http://www.radioramabc.com/adidas-zx-750-blu-bianca-scarpej">adidas zx 750 blu bianca</a>
prformusic http://www.prformusic.com/
amardinlipi
 amardinlipi 2019-04-16 19:50回复
#153
<a href="http://www.qtnkxrcr.com/north-face-1990-mountain-q-jacket-black-yellow-northfaceh">north face 1990 mountain q jacket black yellow</a> <a href="http://www.blcatering.com/nike-air-flight-89-red-white-shoesh">nike air flight 89 red white</a> <a href="http://www.uchbhekf.com/adidas-ultra-boost-triple-blanc-2017-chaussuresl">adidas ultra boost triple blanc 2017</a> <a href="http://www.recspokane.com/adidas-black-and-white-casual-shoes-shoesj">adidas black and white casual shoes</a> <a href="http://www.sjgncnph.com/royal-blue-boston-red-sox-hat-hatk">royal blue boston red sox hat</a> <a href="http://www.loewendoors.com/adidas-zx-750-solid-gr%C3%A5-skoj">adidas zx 750 solid gr氓</a>
amardinlipi http://www.amardinlipi.com/
moreheaddotts
 moreheaddotts 2019-04-16 16:30回复
#152
<a href="http://www.sophiecrooks.com/adidas-ultra-boost-svart-gr%C3%A5-obuvi">adidas ultra boost svart gr氓</a> <a href="http://www.hkelitemodels.com/nike-mercuial-superfly-v-fg-negro-fluorescent-verde-zapatosl">nike mercuial superfly v fg negro fluorescent verde</a> <a href="http://www.graciecomm.com/cheap-oakley-oil-rig-sunglasses-for-sale-sunglassesh">cheap oakley oil rig sunglasses for sale</a>
moreheaddotts http://www.moreheaddotts.com/
顶部留言底部
 00:00/00:00
我想和你虚度时光 - 花房姑娘(9)
  1. 我想和你虚度时光
  2. 花房姑娘
  3. 恋恋风尘
  4. 我喜爱一切不彻底的事物
  5. 我的心里是满的
  6. Long Way
  7. 给少年的歌
  8. 晴日共剪窗
  9. 天上的月你的脸