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,696 views • 2 years ago •via X (Twitter)

9 Comments

jhey ▲🐻🎈's profile picture
jhey ▲🐻🎈2 years 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 Bos2 years ago

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

Mbaziira Ronald's profile picture
Mbaziira Ronald2 years ago

Man, CSS is becoming more powerful every year 😎

Wes Bos's profile picture
Wes Bos2 years ago

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

Jeroen Reumkens — FrontendFYI's profile picture
Jeroen Reumkens — FrontendFYI2 years ago

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

CRANQ's profile picture
CRANQ2 years ago

Great video content, a bit over my head though!

Matias Baldanza.dev 😁 ⚛️'s profile picture
Matias Baldanza.dev 😁 ⚛️2 years ago

What a great step-by-step breakdown!

TommyTheJ's profile picture
TommyTheJ2 years ago

Pretty neat 😎

Nicholas Mackey's profile picture
Nicholas Mackey2 years ago

So sick. Thanks for sharing, Wes. 🤙

Related Videos