--- title: CSSValueList slug: Web/API/CSSValueList tags: - API - CSS - DOM - 参考 - 接口 translation_of: Web/API/CSSValueList ---
The CSSValueList 接口继承自 {{domxref("CSSValue")}} 接口,提供一个经过排序的 CSS 值的抽象集合。
一些属性允许在它们的语法中使用空的列表。这时,these properties take the none identifier. So, an empty list means that the property has the value none.
The items in the CSSValueList are accessible via an integral index, starting from 0.
{{InheritanceDiagram}}
从它的父接口 {{domxref("CSSValue")}} 继承属性。
unsigned long 数值,表示此列表中 CSSValues 的个数。null.| 规范 | 状态 | 备注 |
|---|---|---|
| {{SpecName('DOM2 Style', 'css.html#CSS-CSSValuesList', 'CSSValuesList')}} | {{Spec2('DOM2 Style')}} | Initial definition |
{{Compat("api.CSSValueList")}}