* {margin: 0;padding: 0;}
.q-loading-2 {position: fixed;top: 0;left: 0;right: 0;bottom: 0;background-color: #ffebeb;
display: flex;justify-content: center;align-items: center;}
.q-loading-2-inner {font-size: 40px;font-weight: bold;background: #ccc linear-gradient(135deg,transparent 25%,transparent 40%,rgba(255,255,255, 1) 40%,
rgba(255,255,255, 1) 60%,transparent 60%, transparent);background-size: 60px 60px;background-repeat: no-repeat;
-webkit-background-clip: text;-webkit-text-fill-color: transparent;animation: scratchy 1.5s linear infinite;
}
@keyframes scratchy {
0% {
background-position: -100% 0;
}
100% {
background-position: 130% 0;
}
}
系统联盟
原文:https://www.cnblogs.com/qiuxd/p/12972446.html