News for hackers. Stuff that matters.
Re:CSS-Native Parallax Effect by phelm on Tuesday June 02, 2026 @06:52AM (#48368510)
Re:CSS-Native Parallax Effect by frereubu on Tuesday June 02, 2026 @06:53AM (#48368522)
There's me scrolling up and down and thinking "hey, it's not working!" But it's behind a flag on Firefox: https://caniuse.com/?search=view-timeline-name
Re:CSS-Native Parallax Effect by wnevets on Tuesday June 02, 2026 @08:11AM (#48369181)
Doesnt work on any browser for me
Re:CSS-Native Parallax Effect by WithinReason on Tuesday June 02, 2026 @07:28AM (#48368806)
tried 4 browsers, didn't work in any of them
Re:CSS-Native Parallax Effect by alpinisme on Tuesday June 02, 2026 @07:46AM (#48368970)
FWIW it works on iPhone safari
Re:CSS-Native Parallax Effect by abejfehr on Tuesday June 02, 2026 @08:45AM (#48369530)
I don’t think it did for me. Are you on iOS 26?
Re:CSS-Native Parallax Effect by alpinisme on Wednesday June 03, 2026 @07:52AM (#48382800)
Ahh, yes I am. 26.5
Re:CSS-Native Parallax Effect by layer8 on Tuesday June 02, 2026 @09:05AM (#48369752)
Only on iOS 26.
Re:CSS-Native Parallax Effect by deckar01 on Tuesday June 02, 2026 @11:25AM (#48371518)
But it jumps around and flickers pretty bad. Chrome’s own demos in the docs don’t work at all.

https://developer.chrome.com/docs/css-ui/scroll-driven-anima...

Edit: Their reference works and has some really nice demos. Must be an iframe problem. https://scroll-driven-animations.style/#demos

Re:CSS-Native Parallax Effect by werdnapk on Tuesday June 02, 2026 @07:26AM (#48368784)
It's been behind a flag for ages. Maybe because of performance issues?
Re:CSS-Native Parallax Effect by goodmythical on Tuesday June 02, 2026 @11:34AM (#48371621)
Enabling (layout.css.scroll-driven-animations.enabled) and refreshing the codepen gives a "we crashed this to prevent a crash from an infinite loop" clicking to allow the infinite loops allowed me to see the animation.

Fedora 44 Kernel: x86_64 Linux 7.0.10-201.fc44.x86_64 Firefox 151.0.2

Re:CSS-Native Parallax Effect by anssip on Tuesday June 02, 2026 @07:10AM (#48368651)
Noticed the same thing. In Mac Safari it works without setting any flags.
Re:CSS-Native Parallax Effect by frereubu on Tuesday June 02, 2026 @09:20AM (#48369936)
For people saying it's not working in any browser - do you have some kind of reduced motion preference setting turned on? I can imagine that would have an effect on something like this and it's definitely working in Chrome for me.
Re:CSS-Native Parallax Effect by cj on Tuesday June 02, 2026 @09:29AM (#48370025)
Yes... there's a media query in the codepen disabling animation for people with reduced motion enabled.
Re:CSS-Native Parallax Effect by Mashimo on Tuesday June 02, 2026 @07:39AM (#48368908)
Only worked for me on mobile (vivaldi android) not on vivaldi / chrome / edge on Desktop.
Re:CSS-Native Parallax Effect by account42 on Tuesday June 02, 2026 @07:19AM (#48368719)
What an age where we need a pile of javascript as well as a bot check to demo a simple CSS trick.
Re:CSS-Native Parallax Effect by zamadatix on Tuesday June 02, 2026 @08:03AM (#48369108)
The JS and bot check are for making additional functionality, beyond just showing the example, work easily. I.e. editing and sharing edits from a browser. If all you want is a static example, feel free to make it without these things.