Paul Noble
@paul_uiux
Design & Technology • UX Engineer
ID: 1637918172090347520
20-03-2023 20:45:13
38 Tweet
943 Followers
839 Following
With the experimental CSS scroll() function we can create native-like experiences in a browser. This pure CSS demo's weight is just 6kb 🤯 Try in responsive mode or device. Code + demo via CodePen.IO cdpn.io/pen/debug/oNJG… Chrome 117+, sorry no Safari (yet)
Pure CSS (zero JS) demo of scroll() with 3D transforms running at 60fps on Chrome Android (Pixel 6). When🤞 Safari iOS adds support for scroll() it will unlock a whole range of new possibilities for mobile experiences in a browser. Demo via CodePen.IO codepen.io/paulnoble/pen/…
Didier Catz Nice! 👏 If anyone's curious about *possible* ways to implement, here's a similar demo of a CSS-only draggable segment control w/ keyboard support. Code + demo via CodePen.IO codepen.io/paulnoble/pen/… Uses scroll timeline, snap scrolling and custom styled scrollbars.
CSS scroll-timeline animation of text rotating on a 3D arc. Text styled using CSS 3D transforms using a custom element < arc-text> Code and demo via CodePen.IO codepen.io/paulnoble/pen/…
Zero JS implementation of Apple Music's Top 100 Albums using CSS scroll-timeline, scroll-snap and counter. Code + demo via CodePen.IO codepen.io/paulnoble/pen/…
An (almost) pure CSS photo editing UI using scroll-timeline with keyframes interpolating custom properties in a filter() Code + demo via CodePen.IO codepen.io/paulnoble/pen/…