Class CssMixinDefinitionNode

  • All Implemented Interfaces:
    Locatable

    public class CssMixinDefinitionNode
    extends CssAtRuleNode
    A node representing a mixin definition.

    A mixin definition defines parameterized declarations that can be inserted with a mixin. For example:

     @defmixin gradient(POS, HSL1, HSL2, HSL3, COLOR) {
       background-color: COLOR;
       background-image:
           -webkit-linear-gradient(POS, hsl(HSL1, HSL2, HSL3), COLOR);
     }