mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-09 06:28:28 +03:00
Improve non-composited animation
This commit is contained in:
parent
e1a08a9755
commit
1a8eea24cf
3 changed files with 11 additions and 22 deletions
|
|
@ -1,30 +1,20 @@
|
|||
#progressjs {
|
||||
background-color: #999;
|
||||
left: 0;
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 2000;
|
||||
}
|
||||
|
||||
.progressjs-inner {
|
||||
background-color: #939595;
|
||||
height: 3px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
transition: width .5s;
|
||||
width: 0;
|
||||
z-index: 2000;
|
||||
}
|
||||
|
||||
.progressjs-percent {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: -32px;
|
||||
bottom: 0;
|
||||
#progressjs > div {
|
||||
animation: simple-pace-stripe-animation 500ms linear infinite;
|
||||
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.3) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.3) 75%, transparent 75%, transparent);
|
||||
background-size: 32px 32px;
|
||||
animation: simple-pace-stripe-animation 500ms linear infinite;
|
||||
height: 3px;
|
||||
margin-right: -32px;
|
||||
}
|
||||
|
||||
@keyframes simple-pace-stripe-animation {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue