properties
changelog

Elements Layer

Control z-index stacking order.

Usage:

  • @layout layer-*;

Reference

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

	properties: {
		layout: {
			layer: {
				property: "z-index: <n><v><i>;",
				values: {
					auto: "auto",
					base: 0,
					1: 1,
					2: 2,
					3: 3,
					4: 4,
					5: 5,
					6: 6,
					7: 7,
					8: 8,
					9: 9,
					10: 10,
					11: 11,
					12: 12,
				},
			},
		},
	},
};

export default shilpConfig;