短评 · ·

X 归档 2023-09-14

1 条动态 · 图 0 · 视频 1
@jh3yy22:03原推文
Future CSS Tip! 🍏

You can combine scroll-driven animations with background-clip to create gradient text reveals 😍

p {
animation-name: move-bg, fade-in;
animation-fill-mode: both;
animation-timing-function: linear;
animation-timeline: scroll(root);
animation-range:…
未来 CSS 小技巧!🍏

你可以把 scroll-driven animations 和 background-clip 结合起来,做出渐变文字渐显 😍

p {
animation-name: move-bg, fade-in;
animation-fill-mode: both;
animation-timing-function: linear;
animation-timeline: scroll(root);
animation-range:…