Smooth Scroll to Top Using CSS3 Animations
labs.mitgux.com
labs.mitgux.com
It is fancy though—don't let me dissuade you from similar things.
For anyone curious, chrome://flags has a smooth scrolling option to try. There's also browser plugins that do this. For macs this is system behavior right?
This way if JavaScript or CSS3 animations are unavailable the usability is preserved.
That said it's running smooth on my desktop.
It feels like smooth scrolling wastes my time. I know we're only talking about fractions of a second, really, but when I'm concentrating on something that feels like a long and pointless interruption. Smooth scrolling also really does cost CPU (and/or GPU) power, and in today's mobile device world that means it wastes battery power.
PS: Only the first animation one works it Opera (but the jump still works, so that's great).
Usually it's done using the jQuery animate function, meaning you can't take advantage of CSS transitions.
As you can't add a CSS transition onto the window scroll, this demo is useful as it shows a workaround that achieves the same effect using CSS transitions.