正在加载视频...
视频加载失败
Pretty impressive that you can do it without JavaScript with this new CSS API heres a quick tutorial on how to code the iPad video scroller mask effect yourself
9 条评论

jhey ▲🐻🎈1 年前
And here's my version that attempts to match up to the iPad site one 🤙 Uses the pathLength trick and position:sticky to get closer to the video behavior from the original 😎

Wes Bos1 年前
Ohhhh sheeesh - thats even better. Good tip - thank you

Mbaziira Ronald1 年前
Man, CSS is becoming more powerful every year 😎

Wes Bos1 年前
lots of super powerful APIs rolling out right now - its a good time for CSS

Jeroen Reumkens — FrontendFYI1 年前
Appreciate the mention Wes! This tutorial is already super complete! Well done 🔥

CRANQ1 年前
Great video content, a bit over my head though!

Matias Baldanza.dev 😁 ⚛️1 年前
What a great step-by-step breakdown!

TommyTheJ1 年前
Pretty neat 😎

Nicholas Mackey1 年前
So sick. Thanks for sharing, Wes. 🤙
