Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.md #14088

Merged
merged 2 commits into from
Jul 9, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion files/zh-cn/web/html/element/meta/name/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ CSS 颜色调整规范(CSS Color Adjustment specification)定义了以下元
- `only light`
- : 表示文档*仅*支持浅色模式,也就是浅色背景色和深色前景色。按照规范,`only dark` _是无效的_。如果在文档不支持深色模式的情况下强迫其以深色模式进行渲染,会导致内容不可读。所以,在未经配置的情况下,所有主要浏览器均默认使用浅色模式。

For example, to indicate that a document prefers dark mode but does render functionally in light mode as well:
举个例子,为了指明该页面默认使用深色模式同时也支持浅色模式,代码如下:
yin1999 marked this conversation as resolved.
Show resolved Hide resolved

```html
<meta name="color-scheme" content="dark light">
Expand Down