이 문서는 아직 자원 봉사자들이 한국어로 번역하지 않았습니다. 참여해서 번역을 마치도록 도와 주세요!
English (US)의 문서도 읽어보세요.

The CSSValue interface represents the current computed value of a CSS property.

Properties

CSSValue.cssText
A DOMString representing the current value.
CSSValue.cssValueType Read only
An unsigned short representing a code defining the type of the value. Possible values are:
Constant Description
CSS_CUSTOM The value is a custom value.
CSS_INHERIT The value is inherited and the cssText contains "inherit".
CSS_PRIMITIVE_VALUE The value is a primitive value and an instance of the CSSPrimitiveValue interface can be obtained by using binding-specific casting methods on this instance of the CSSValue interface.
CSS_VALUE_LIST The value is a CSSValue list and an instance of the CSSValueList interface can be obtained by using binding-specific casting methods on this instance of the CSSValue interface.

Specifications

Specification Status Comment
Document Object Model (DOM) Level 2 Style Specification
The definition of 'CSSValue' in that specification.
Obsolete Initial definition

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support No ? Yes — 62 ? No ?
cssText No ? Yes — 62 ? No ?
cssValueType No ? Yes — 62 ? No ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support ? ? ? Yes — 62 ? ? ?
cssText ? ? ? Yes — 62 ? ? ?
cssValueType ? ? ? Yes — 62 ? ? ?

See also

문서 태그 및 공헌자

이 페이지의 공헌자: fscholz, Sebastianz
최종 변경자: fscholz,