CSSCounterStyleRule
The CSSCounterStyleRule
interface represents an @counter-style
at-rule.
Properties
This interface also inherits properties from its parent CSSRule
.
CSSCounterStyleRule.name
-
Is a
CSSOMString
object that contains the serialization of the<custom-ident>
defined as thename
for the associated rule. CSSCounterStyleRule.system
-
Is a
CSSOMString
object 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
-
Is a
CSSOMString
object 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
-
Is a
CSSOMString
object 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
-
Is a
CSSOMString
object 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
-
Is a
CSSOMString
object 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
-
Is a
CSSOMString
object 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
-
Is a
CSSOMString
object 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
-
Is a
CSSOMString
object 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
-
Is a
CSSOMString
object 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
-
Is a
CSSOMString
object 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.
Methods
This interface doesn't implement any specific method but inherits methods from its parent CSSRule
.
Specifications
Specification |
---|
CSS Counter Styles Level 3 # the-csscounterstylerule-interface |
Browser compatibility
BCD tables only load in the browser