Spyke
css·CSSbyOberyn

Apple has a private CSS property to add Liquid Glass effects to web content

Yes it works and no, we can't

Before you, like me, fire up Safari and start editing some CSS, I have bad news: no, it doesn't work on the web. As well it shouldn't. But it also doesn't work by default in an app using WKWebView, you have to toggle a setting in WKPreferences called useSystemAppearance... and it's private. So if you use it, say goodbye to App Store approval.

Who cares?

It's an interesting piece of trivia but no-one outside of Apple can use it.

… ffs 🤦

https://alastair.is/apple-has-a-private-css-property-to-add-liquid-glass-effects-to-web-contentOpen linkView original on lemmy.world

My bad , didn't realise . Just copied it from my browser thought it should (EDIT : should work now)

Also IDK , don't follow Apple very closely

1

You reached the end

Apple has a private CSS property to add Liquid Glass effects to web content | Spyke