CSS3 implements the Submit button to wait for the dot loop effect

Source: Internet
Author: User

The CSS3 implements the Submit button to wait for the dot loop effect:
This section shares a code example, which implements the Submit button wait effect.
This effect is more humane, can make the user very easy to guide, the webpage is in the work, only need to wait patiently.
The code example is as follows:

<!DOCTYPE HTML><HTML><Head><MetaCharSet= "Utf-8"><Metaname= "Author"content= "http://www.softwhy.com/" /><title>Ant Tribe</title><styletype= "Text/css">. Grebtn{Display:Inline-block;padding:0.25em 1.25em;Border:1px solid;Border-radius:2px;vertical-align:Bottom;Font-weight:Inherit;Border-color:#208000 #1F7F00;Background-color:#289600;Box-shadow:inset 0 0 1px rgba (255,255,255,.6), 0 1px #8DBF62;Color:#fff;Text-shadow:0-1px #137900;text-decoration:None; }. Dotting{Display:Inline-block;Min-width:2px;Min-height:2px;Box-shadow:2px 0 CurrentColor, 6px 0 currentcolor, 10px 0 currentcolor;-webkit-animation:dot 4s infinite step-start both;Animation:dot 4s infinite step-start both;*zoom:expression (this.innerhtml = ' ... '); /*IE7*/}. Dotting:before{content:' ... '; } /*IE8*/. Dotting::before{content:"'; }: root. Dotting{Margin-right:8px; } /*IE9+,FF,CH,OP,SF*/@-webkit-keyframes Dot{25% {Box-shadow:None; }50%{Box-shadow:2px 0 CurrentColor; }75%{Box-shadow:2px 0 CurrentColor, 6px 0 currentcolor; }} @keyframes Dot{25% {Box-shadow:None; }50%{Box-shadow:2px 0 CurrentColor; }75%{Box-shadow:2px 0 CurrentColor, 6px 0 currentcolor; }}</style><Head></Head><Body><ahref= "javascript:"class= "Grebtn">In the order submission<spanclass= "dotting"></span></a></Body></HTML>

The original address is: http://www.softwhy.com/forum.php?mod=viewthread&tid=18233

For more information, refer to: http://www.softwhy.com/divcss/

CSS3 implements the Submit button to wait for the dot loop effect

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.