Interface CSSVarValue

All Superinterfaces:
Cloneable, CSSPrimitiveValue, CSSValue
All Known Implementing Classes:
VarValue

public interface CSSVarValue extends CSSPrimitiveValue
A reference to a CSS custom property value ('variable').
  • Method Details

    • getName

      String getName()
      Get the name of the custom property.
      Returns:
      the name of the custom property.
    • getFallback

      LexicalUnit getFallback()
      Get the fallback value.
      Returns:
      the fallback value, or null if there is no fallback.