日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

css动画之波纹

發(fā)布時(shí)間:2023/12/20 编程问答 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 css动画之波纹 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

樣式定義:

#ContactAbout { height: auto; position: relative; overflow: hidden; } #sectioncontact { display: block; width: 100%; position: relative; height: 700px; z-index: 10; }#sectioncontact .map { width: 370px; height: 280px; position: absolute; left: 45%; margin-left: -105px; }#sectioncontact .map .button { width: 73px; height: 63px; background: url(../images/map-button.png) no-repeat; position: absolute; bottom: 0px; left: 165px; z-index: 1; border-radius: 73px; }#sectioncontact .map .tips { width: 370px; height: 170px; background: rgba(0,172,198,.8); -moz-border-radius: 10px; -webkit-border-radius: 10px; border-radius: 10px; position: absolute; left: 20px; top: 16px; z-index: 2; -webkit-animation: Swing 2s ease-in-out infinite; -moz-animation: Swing 2s ease-in-out infinite; -ms-animation: Swing 2s ease-in-out infinite; -o-animation: Swing 2s ease-in-out infinite; animation: Swing 2s ease-in-out infinite; }#sectioncontact .map .tips:before { content: ''; border: 26px solid; border-color: #333; border-color: rgba(255,255,255,0); border-top-color: rgba(0,172,198,.8); position: absolute; left: 50%; top: 170px; margin-left: -26px; }#sectioncontact .map .tips .container { padding: 10px; color: #fff; font-size: 16px; font-weight: 100; line-height: 30px; }#sectioncontact .map .tips .container small { display: inline-block; width: 80px; color: #eee; font-size: 14px; } @-webkit-keyframes Swing {0% { -webkit-transform: rotate(0deg); }20% { -webkit-transform: rotate(-2deg); }35% { -webkit-transform: rotate(2deg) scaleY(1); }50% { -webkit-transform: rotate(-2deg); }65% { -webkit-transform: rotate(1deg); }80% { -webkit-transform: rotate(-1deg); }100% { -webkit-transform: rotate(0deg); } }@-moz-keyframes Swing {0% { -moz-transform: rotate(0deg); }20% { -moz-transform: rotate(-2deg); }35% { -moz-transform: rotate(2deg) scaleY(1); }50% { -moz-transform: rotate(-2deg); }65% { -moz-transform: rotate(1deg); }80% { -moz-transform: rotate(-1deg); }100% { -moz-transform: rotate(0deg); } }@-ms-keyframes Swing {0% { -ms-transform: rotate(0deg); }20% { -ms-transform: rotate(-2deg); }35% { -ms-transform: rotate(2deg) scaleY(1); }50% { -ms-transform: rotate(-2deg); }65% { -ms-transform: rotate(1deg); }80% { -ms-transform: rotate(-1deg); }100% { -ms-transform: rotate(0deg); } }@keyframes Swing {0% { transform: rotate(0deg); }20% { transform: rotate(-2deg); }35% { transform: rotate(2deg) scaleY(1); }50% { transform: rotate(-2deg); }65% { transform: rotate(1deg); }80% { transform: rotate(-1deg); }100% { transform: rotate(0deg); } }.halo { -webkit-animation: Halo 6s linear infinite; -moz-animation: Halo 6s linear infinite; animation: Halo 6s linear infinite; }@-webkit-keyframes Halo {0% { box-shadow: inset 0 0 25px rgba(255,0,0,0.25),0 0 0 0 rgba(255,0,0,0),0 0 0 0 rgba(255,0,0,0),0 0 0 0 rgba(255,0,0,0); }25% { box-shadow: inset 0 0 25px rgba(255,0,0,0.25),0 0 0 0 rgba(255,0,0,.75),0 0 0 200px rgba(255,0,0,.25),0 0 0 0 rgba(255,0,0,.25),0 0 0 460px rgba(255,0,0,.1); }50% { box-shadow: inset 0 0 25px rgba(255,0,0,.25),0 0 0 0 rgba(255,0,0,.75),0 0 0 200px rgba(255,0,0,0),0 0 0 100px rgba(255,0,0,0),0 0 0 1000px rgba(255,0,0,0); } }@-moz-keyframes Halo {0% { box-shadow: inset 0 0 25px rgba(255,0,0,0.25),0 0 0 0 rgba(255,0,0,0),0 0 0 0 rgba(255,0,0,0),0 0 0 0 rgba(255,0,0,0); }25% { box-shadow: inset 0 0 25px rgba(255,0,0,0.25),0 0 0 0 rgba(255,0,0,.75),0 0 0 200px rgba(255,0,0,.25),0 0 0 0 rgba(255,0,0,.25),0 0 0 460px rgba(255,0,0,.1); }50% { box-shadow: inset 0 0 25px rgba(255,0,0,.25),0 0 0 0 rgba(255,0,0,.75),0 0 0 200px rgba(255,0,0,0),0 0 0 100px rgba(255,0,0,0),0 0 0 1000px rgba(255,0,0,0); } }@keyframes Halo {0% { box-shadow: inset 0 0 25px rgba(255,0,0,0.25),0 0 0 0 rgba(255,0,0,0),0 0 0 0 rgba(255,0,0,0),0 0 0 0 rgba(255,0,0,0); }25% { box-shadow: inset 0 0 25px rgba(255,0,0,0.25),0 0 0 0 rgba(255,0,0,.75),0 0 0 200px rgba(255,0,0,.25),0 0 0 0 rgba(255,0,0,.25),0 0 0 460px rgba(255,0,0,.1); }50% { box-shadow: inset 0 0 25px rgba(255,0,0,.25),0 0 0 0 rgba(255,0,0,.75),0 0 0 200px rgba(255,0,0,0),0 0 0 100px rgba(255,0,0,0),0 0 0 1000px rgba(255,0,0,0); } }

aspx:

<div id="ContactAbout"><div id="sectioncontact"><div class="baidumapsite" id="dituContent"></div><div class="map"><div class="tips"><div class="container"><p><small>公司名稱(chēng):</small><asp:Literal ID="cName" runat="server"></asp:Literal></p><p><small>公司郵箱:</small><asp:Literal ID="cEmail" runat="server"></asp:Literal></p><p><small>聯(lián)系手機(jī):</small><asp:Literal ID="cTel" runat="server"></asp:Literal></p><p><small>公司郵編:</small><asp:Literal ID="cPostcode" runat="server"></asp:Literal></p><p><small>公司地址:</small><asp:Literal ID="cAddr" runat="server"></asp:Literal></p></div></div><div class="button halo"></div></div><div id="messageus" title="點(diǎn)擊給我留言吧"></div><div id="pop-login" style="display: none"><div class="subline"><span>客戶姓名:</span><input name="txtName" runat="server" type="text" id="txtName" class="txtinput" /></div><div class="subline"><span>郵箱地址:</span><input name="txtEmail" runat="server" type="text" id="txtEmail" class="txtinput" /></div><div class="subline"><span>聯(lián)系電話:</span><input name="txtTel" runat="server" type="text" id="txtTel" class="txtinput" /></div><div class="subcontent"><span>留言?xún)?nèi)容:</span><textarea name="txtMsgContent" id="txtMsgContent" runat="server" class="txtMsgContent" /></div><div class="subline"><span>驗(yàn)證碼:</span><img src="VerifyImage.ashx" class="txtverity" οnclick="this.src=this.src+'?'" /><input name="txtCode" runat="server" type="text" id="txtCode" class="txtinput1" /><asp:Button ID="Button1" runat="server" Text="提交" OnClientClick="return check()" class="btn" OnClick="btnSendMsg_Click" /></div></div> <script type="text/javascript" src="js/baidumap.js"></script></div></div>

頁(yè)面效果:

轉(zhuǎn)載于:https://www.cnblogs.com/shy1766IT/p/3736220.html

總結(jié)

以上是生活随笔為你收集整理的css动画之波纹的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。