过年与住院

2024-02-29

2024-02-28

2024-02-27

2024-02-26

2024-02-25

2024-02-24

2024-02-23

The color-scheme CSS property allows an element to indicate which color schemes it can comfortably be rendered in.

Common choices for operating system color schemes are “light” and “dark”, or “day mode” and “night mode”.

When a user selects one of these color schemes, the operating system makes adjustments to the user interface. This includes form controls, scrollbars, and the used values of CSS system colors.

https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme

通过 color-scheme 这个属性可以指定网站的主题,一般是深色和浅色主题,苹果手机对两种主题的适配很重视,所以微信公众号的文章也进行了适配,否则就被下架了。

继续阅读“过年与住院”