CSSFontPaletteValuesRule

The CSSFontPaletteValuesRule interface represents an @font-palette-values at-rule.

MDN Reference

Properties

Link copied to clipboard

The read-only basePalette property of the CSSFontPaletteValuesRule interface indicates the base palette associated with the rule.

Link copied to clipboard

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

Link copied to clipboard

The read-only fontFamily property of the CSSFontPaletteValuesRule interface lists the font families the rule can be applied to.

Link copied to clipboard

The read-only name property of the CSSFontPaletteValuesRule interface represents the name identifying the associated @font-palette-values at-rule.

Link copied to clipboard

The read-only overrideColors property of the CSSFontPaletteValuesRule interface is a string containing a list of color index and color pair that are to be used instead.

Link copied to clipboard

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 the current rule is defined.