this post was submitted on 16 Sep 2025
3 points (100.0% liked)

CSS

704 readers
7 users here now

founded 2 years ago
MODERATORS
 

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 🤦

top 2 comments
sorted by: hot top controversial new old
[–] chickenf622@sh.itjust.works 1 points 4 months ago (1 children)

You goofed the URL, I think, it gives a 404 when I click on it. Here's the correct one https://alastair.is/apple-has-a-private-css-property-to-add-liquid-glass-effects-to-web-content/. So is apple maybe gonna give us PWAs?

[–] Oberyn@lemmy.world 1 points 4 months ago* (last edited 4 months ago)

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