Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

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,832 Aufrufe • vor 2 Jahren •via X (Twitter)

9 Kommentare

Profilbild von jhey ▲🐻🎈
jhey ▲🐻🎈vor 2 Jahren

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 😎

Profilbild von Wes Bos
Wes Bosvor 2 Jahren

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

Profilbild von Mbaziira Ronald
Mbaziira Ronaldvor 2 Jahren

Man, CSS is becoming more powerful every year 😎

Profilbild von Wes Bos
Wes Bosvor 2 Jahren

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

Profilbild von Jeroen Reumkens — FrontendFYI
Jeroen Reumkens — FrontendFYIvor 2 Jahren

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

Profilbild von CRANQ
CRANQvor 2 Jahren

Great video content, a bit over my head though!

Profilbild von Matias Baldanza.dev 😁 ⚛️
Matias Baldanza.dev 😁 ⚛️vor 2 Jahren

What a great step-by-step breakdown!

Profilbild von TommyTheJ
TommyTheJvor 2 Jahren

Pretty neat 😎

Profilbild von Nicholas Mackey
Nicholas Mackeyvor 2 Jahren

So sick. Thanks for sharing, Wes. 🤙

Ähnliche Videos