properties
changelog

Mask Image

Specifies an image to use as a mask.

Usage:

  • @mask img-*;

Reference

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

  properties: {
    mask: {
      img: {
        property: "mask-image: <v><i>;",
        values: {
          none: "none",
        },
      },
    },
  },
};

export default shilpConfig;

Published at:

Last updated at: