CSSFontFeatureValuesRule

The CSSFontFeatureValuesRule interface represents an @font-feature-values at-rule. The values of its instance properties can be accessed with the CSSFontFeatureValuesMap interface.

MDN Reference

Properties

Link copied to clipboard
external var cssText: String

The cssText property of the CSSRule interface returns the actual text of a CSSStyleSheet style-rule.

Link copied to clipboard
external var fontFamily: String

The fontFamily property of the CSSFontFeatureValuesRule interface represents the name of the font family it applies to.

Link copied to clipboard
external val parentRule: CSSRule?

The parentRule property of the CSSRule interface returns the containing rule of the current rule if this exists, or otherwise returns null.

Link copied to clipboard

The parentStyleSheet property of the CSSRule interface returns the StyleSheet object in which the current rule is defined.