Files
ylhp-ai-project-manager-fro…/src/components/ReFlicker/index.css
JiaoTianBo 2b62486364
Some checks failed
Lint Code / Lint Code (push) Failing after 35s
feat(init): 项目初始化构建
2026-03-27 16:50:27 +08:00

40 lines
649 B
CSS

.point {
width: var(--point-width);
height: var(--point-height);
background: var(--point-background);
position: relative;
border-radius: var(--point-border-radius);
}
.point-flicker:after {
background: var(--point-background);
}
.point-flicker:before,
.point-flicker:after {
content: "";
width: 100%;
height: 100%;
top: 0;
left: 0;
position: absolute;
border-radius: var(--point-border-radius);
animation: flicker 1.2s ease-out infinite;
}
@keyframes flicker {
0% {
transform: scale(0.5);
opacity: 1;
}
30% {
opacity: 1;
}
100% {
transform: scale(var(--point-scale));
opacity: 0;
}
}