Technology News

Scroll Shadows? Pure CSS Parallax? Game Back On.

Chris calls scroll shadows one his favorite CSS-Tricks of all time. Lea Verou popularized the pure CSS approach using four layered background gradients with some clever background-attachment magic. The result is a slick scrolling interaction that gives users a hint that additional content is available in a scrollable container.

Just one problem: it broke in Safari iOS 13. One day it was all good. The next, not so much. And that wasn’t the only thing affected. Keith Clark’s CSS-only parallax effect also stopped working right about then.

Well, reader Ronald wrote in to say that all is working once again! In fact, I’m writing this on my iPad (Safari 15.5) right now and Chris’s demo is looking sharp as ever. So is Keith’s original demo.

So, what broke it? We still don’t know. But the Safari 13 release notes offer clues:

  • Added support for one-finger accelerated scrolling to all frames and overflow:scroll elements eliminating the need to set-webkit-overflow-scrolling: touch.
  • Changed the default behavior on iPad for wide web pages with responsive meta-tags that require horizontal scrolling. Pages are scaled to prevent horizontal scrolling and any text is resized to preserve legibility.

When was it fixed and what fixed it? Well, on the scroll shadow side, the Safari 15.4 included some work on background-attachment: local that may have done the trick. On the parallax side, Safari 14.1 added support for individual transform properties… so maybe that?

Leaked internal memo reveals Amazon’s anti-union strategies
How To Measure Your Content Marketing ROI

Related Articles

7 Best Makeup Photo Editors in 2020

7-best-makeup-photo-editors-in-2020
Are you on the lookout for the best makeup photo editor to enhance your selfies but have no idea which program to choose? This list has been created to considerably…

Scaling Up The Outreach Through Amazon

scaling-up-the-outreach-through-amazon
Scaling Up The Outreach Through Amazon Scaling up a business outreach is not difficult when you are offering an amazing service or product with a strong foundation. Amazon enables you…

Thank You (2021 Edition)

thank-you-2021-edition
The year has come to a close and it’s time again for our end-of-year wrapup. The most important message is this: thank you. (thankyouthankyou) Thanks for stopping by and reading…