Skip to content

Commit

Permalink
Tweak spin animation
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Mar 14, 2017
1 parent 89ace33 commit fa1e031
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions components/spin/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,13 @@
display: block;
.square(@spin-dot-size);
transform: rotate(45deg);
animation: antRotate 2s infinite linear;
animation: antRotate 1.2s infinite linear;
i {
width: 9px;
height: 9px;
border-radius: 100%;
background-color: @primary-color;
transform: scale(0.6);
transform: scale(0.75);
display: block;
position: absolute;
opacity: 0.3;
Expand Down Expand Up @@ -186,7 +186,6 @@

@keyframes antSpinMove {
to {
transform: scale(0.9);
opacity: 1;
}
}
Expand Down

0 comments on commit fa1e031

Please sign in to comment.