我注意到我在 MacBook Air 上的背景似乎适应了外面的时间,随着天色的变暗而变暗。
我可以在我的网站上使用 CSS 模拟这种效果吗?
它们改变了什么参数,我可以使用 css 过滤器来做类似的事情吗?
最佳答案
不是参数也不是滤镜,而是多张实拍照片。
https://www.idownloadblog.com/2018/06/06/macos-mojave-dynamic-wallpaper-desktop/
Apple took multiple photographs of the same spot at various intervals between sunrise and dusk to achieve the incredibly smooth transition between day and night. Thanks to enthusiasts, we know that Mojave’s dynamic wallpaper includes 16 layers in one HEIC file.
您自己也可以这样做 - 只需在一天中的不同时间显示不同的背景图片即可。
关于html - iOS 如何让背景看起来随时间改变亮度?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59120870/