animated dashed line as loading indicator, instead of a spinner, resolves #3
This commit is contained in:
parent
61238193cf
commit
f0d0182256
2 changed files with 43 additions and 1 deletions
|
|
@ -161,3 +161,27 @@ textarea {
|
|||
textarea:focus {
|
||||
background-color: rgba(255,255,255,255);
|
||||
}
|
||||
|
||||
/* dashed line animation, derived from Chris Coyier and others
|
||||
http://css-tricks.com/svg-line-animation-works/
|
||||
*/
|
||||
.loading-trailer {
|
||||
-webkit-animation: dash 0.4s linear infinite;
|
||||
animation: dash 0.4s linear infinite;
|
||||
}
|
||||
@-webkit-keyframes dash {
|
||||
from {
|
||||
stroke-dashoffset: 20;
|
||||
}
|
||||
to {
|
||||
stroke-dashoffset: 0;
|
||||
}
|
||||
}
|
||||
@keyframes dash {
|
||||
from {
|
||||
stroke-dashoffset: 20;
|
||||
}
|
||||
to {
|
||||
stroke-dashoffset: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue