properties
changelog

Backdrop Filter

Apply backdrop filter effects to elements.

Usage:

  • @filter backdrop-*;

Reference

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

  properties: {
    filter: {
      backdrop: {
        DEFAULT: {
          property: "backdrop-filter: <v><i>;",
          values: {
            // backdrop-filter: [blur] [brightness] [contrast] [drop-shadow] [grayscale] [hue-rotate] [invert] [opacity] [saturate] [sepia];
          },
        },
      },
    },
  },
};

export default shilpConfig;

Published at:

Last updated at: