Skip to content

Commit 2e7bd21

Browse files
authored
Merge pull request #487 from Automattic/update/skeleton_pause
Skeleton Pause animation
2 parents 61c2995 + 6c616b7 commit 2e7bd21

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/system/Skeleton/Skeleton.tsx

+4-3
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,17 @@ export const Skeleton = ( {
3131
width,
3232
height,
3333
backgroundColor: 'skeleton.background',
34-
animation: 'pulse 1.5s ease-in-out infinite',
34+
animation: 'pulse 1.5s ease-in-out 3',
35+
opacity: 0.125,
3536
'@keyframes pulse': {
3637
'0%': {
37-
opacity: 0.1,
38+
opacity: 0.125,
3839
},
3940
'50%': {
4041
opacity: 0.2,
4142
},
4243
'100%': {
43-
opacity: 0.1,
44+
opacity: 0.125,
4445
},
4546
},
4647
mb: index === times - 1 ? 0 : 4,

0 commit comments

Comments
 (0)