properties
changelog

Combine Masks

Combine multiple masks on element.

Usage:

  • @mask combine-*;

Reference

shilp.config.js
/** @type {import('shilpcss/types').ShilpConfig} */
const shilpConfig = {
  source: "react",

  properties: {
    mask: {
      combine: {
        property: "mask-composite: <v><i>;",
        values: {
          add: "add",
          subtract: "subtract",
          intersect: "intersect",
          exclude: "exclude",
        },
      },
    },
  },
};

export default shilpConfig;

Published at:

Last updated at: