正在加载视频...

视频加载失败

CSS scroll-driven contents island 🏖️ :root { animation: sync; animation-timeline: scroll(); counter-reset: p var(--p); } @​keyframes sync { to {--p: 100;}} .p::before { content: counter(p) '%';}

153,024 次观看 • 1 年前 •via X (Twitter)

9 条评论

Ryan Brown 的头像
Ryan Brown1 年前

I’ve always wondered, why don’t you use or something similar to highlight the code? Copy/paste?

Dozed Nutz 的头像
Dozed Nutz1 年前

jhey is who I want to have a dinner with over $500k

Ji @ crypto-cafe (YT) 的头像
Ji @ crypto-cafe (YT)1 年前

can we get an horizontal scroller plz?

jhey ▲🐻🎈 的头像
jhey ▲🐻🎈1 年前

do you mean the same concept but going left to right?

Tommy J. Vedvik 的头像
Tommy J. Vedvik1 年前

You know you could make tons just putting code for these behind a paywall? 🤩

Alex K 的头像
Alex K1 年前

Are you a magician?

kyle 的头像
kyle1 年前

i have so many questions 🤯

Staffan Estberg 的头像
Staffan Estberg1 年前

Neat!

Rizwan 的头像
Rizwan1 年前

@jh3yy where can I get full code of this.

相关视频