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