Skip to content

Commit

Permalink
Update index.md (#14088)
Browse files Browse the repository at this point in the history
Co-authored-by: A1lo <[email protected]>
  • Loading branch information
unknownpioneer and yin1999 authored Jul 9, 2023
1 parent 0531743 commit 18f1d18
Showing 1 changed file with 1 addition and 1 deletion.
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:
举个例子,为了指明该文档偏好使用深色模式同时也支持浅色模式,代码如下:

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

0 comments on commit 18f1d18

Please sign in to comment.