Skip to content

Commit

Permalink
zh-cn: correct the translation of Screen.colorDepth documentation (#…
Browse files Browse the repository at this point in the history
…23914)

Co-authored-by: A1lo <[email protected]>
  • Loading branch information
wangyinyuan and yin1999 authored Oct 5, 2024
1 parent b7f51b3 commit cec2b06
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 cec2b06

Please sign in to comment.