Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 authored Oct 5, 2024
1 parent a7a76ed commit e088ff3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions files/zh-cn/web/api/screen/colordepth/index.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
---
title: Screen.colorDepth
title: ScreencolorDepth 属性
slug: Web/API/Screen/colorDepth
l10n:
sourceCommit: f2f9346c0c0e9f6676f2df9f1850933e274401de
---

{{APIRef("CSSOM")}}

返回屏幕的颜色深度(color depth)。根据 CSSOM(CSS 对象模型)视图,某些实现为了兼容性原因总是返回 24。请参阅浏览器兼容性部分,了解哪些浏览器不遵循这一行为。
只读属性 **`Screen.colorDepth`** 返回屏幕的颜色深度(color depth)。根据 CSSOM(CSS 对象模型),某些实现为了兼容性原因总是返回 `24`。请参阅浏览器兼容性部分,以了解不这么做的浏览器。

##

一个数字。

## 示例

Expand Down

0 comments on commit e088ff3

Please sign in to comment.