您现在的位置是:
首页
>
标签 “prefers” 相关程序员文章站
详解使用 CSS prefers-* 规范提升网站的可访问性与健壮性
文本将介绍 css 媒体查询中新增的几个特性功能: prefers-reduced-motion prefers-color-scheme prefers-contrast p
程序员文章站2022-06-18IT编程网页中跟随系统,适配 macOS 的夜间模式,暗黑模式 dark-mode:prefers-color-scheme: dark
网页中跟随系统,适配 macOS 的夜间模式,暗黑模式 dark-mode参阅: https://css-tricks.com/a-complete-guide-to-dark-mode-on-the-web/只需要添加 @media 标签即可,跟 @media (max-width: 768px)...
程序员文章站2022-05-15详解使用 CSS prefers-* 规范提升网站的可访问性与健壮性
文本将介绍 css 媒体查询中新增的几个特性功能: prefers-reduced-motion prefers-color-scheme prefers-contrast p
程序员文章站2022-03-13IT编程