properties
changelog

Mask Image Repeat

Control mask image repetition.

Usage:

  • @mask repeat-*;

Reference

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

  properties: {
    mask: {
      repeat: {
        property: "mask-repeat: <v><i>;",
        values: {
          // mask-repeat: v | x y;
          DEFAULT: "repeat",
          none: "no-repeat",
          x: "repeat-x",
          y: "repeat-y",
          space: "space",
          round: "round",
        },
      },
    },
  },
};

export default shilpConfig;

Published at:

Last updated at: