Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. CSSCounterStyleRule

CSSCounterStyleRule

Baseline 2023
Newly available

Since ⁨September 2023⁩, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

TheCSSCounterStyleRule interface represents an@counter-styleat-rule.

CSSRule CSSCounterStyleRule

Instance properties

This interface also inherits properties from its parentCSSRule.

CSSCounterStyleRule.name

A string that contains the serialization of the<custom-ident> defined as thename for the associated rule.

CSSCounterStyleRule.system

A string that contains the serialization of thesystem descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.

CSSCounterStyleRule.symbols

A string that contains the serialization of thesymbols descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.

CSSCounterStyleRule.additiveSymbols

A string that contains the serialization of theadditive-symbols descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.

CSSCounterStyleRule.negative

A string that contains the serialization of thenegative descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.

CSSCounterStyleRule.prefix

A string that contains the serialization of theprefix descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.

CSSCounterStyleRule.suffix

A string that contains the serialization of thesuffix descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.

CSSCounterStyleRule.range

A string that contains the serialization of therange descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.

CSSCounterStyleRule.pad

A string that contains the serialization of thepad descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.

CSSCounterStyleRule.speakAs

A string that contains the serialization of thespeak-as descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.

CSSCounterStyleRule.fallback

A string that contains the serialization of thefallback descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.

Instance methods

This interface doesn't implement any specific method but inherits methods from its parentCSSRule.

Specifications

Specification
CSS Counter Styles Level 3
# the-csscounterstylerule-interface

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp