properties
changelog

Background Clip Area

Define background clip area within element.

Usage:

  • @bg clip-*;

Reference

shilp.config.js
const shilpConfig = {
	source: "react",

	properties: {
		bg: {
			clip: {
				property: "background-clip: <v><i>;",
				values: {
					border: "border-box",
					padding: "padding-box",
					content: "content-box",
					text: "text",
				},
			},
		},
	},
};

export default shilpConfig;