文件
halo-theme/src/styles/typed-text.scss
T
admin 261c0116ba
Theme CD / Package Theme (release) Failing after 13m8s
Theme CD / Release (release) Failing after 14m59s
refactor(alpine): restructure components and remove unused utilities for better modularity and maintainability
2026-06-14 08:31:42 +08:00

29 行
517 B
SCSS

/* 光标样式 */
.typed-text::after {
content: none;
}
.typed-text.typed-text--typing::after {
content: "";
display: inline-block;
width: 0.16em;
height: 0.78em;
margin-left: 0.08em;
background: var(--devcm-amber);
box-shadow: 0 0 8px rgba(255, 176, 0, 0.34);
opacity: 0.82;
animation: blink 0.7s infinite alternate; /* 闪烁动画 */
vertical-align: 0.04em;
}
.typed-text.typed-text--complete::after {
content: none;
}
/* 闪烁动画 */
@keyframes blink {
to {
opacity: 1;
}
}