Loading video...

Video Failed to Load

Go Home

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

222,639 views • 1 year ago •via X (Twitter)

9 Comments

jhey ▲🐻🎈's profile picture
jhey ▲🐻🎈1 year ago

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 Bos's profile picture
Wes Bos1 year ago

Ohhhh sheeesh - thats even better. Good tip - thank you

Mbaziira Ronald's profile picture
Mbaziira Ronald1 year ago

Man, CSS is becoming more powerful every year 😎

Wes Bos's profile picture
Wes Bos1 year ago

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

Jeroen Reumkens — FrontendFYI's profile picture
Jeroen Reumkens — FrontendFYI1 year ago

Appreciate the mention Wes! This tutorial is already super complete! Well done 🔥

CRANQ's profile picture
CRANQ1 year ago

Great video content, a bit over my head though!

Matias Baldanza.dev 😁 ⚛️'s profile picture
Matias Baldanza.dev 😁 ⚛️1 year ago

What a great step-by-step breakdown!

TommyTheJ's profile picture
TommyTheJ1 year ago

Pretty neat 😎

Nicholas Mackey's profile picture
Nicholas Mackey1 year ago

So sick. Thanks for sharing, Wes. 🤙

Related Videos