properties
changelog

Position Method OR Type

Set element's position method or type related to parent.

Usage:

  • @position is-*;

Reference

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

	properties: {
		position: {
			is: {
				property: "position: <v><i>;",
				values: {
					static: "static",
					fixed: "fixed",
					absolute: "absolute",
					relative: "relative",
					sticky: "sticky",
				},
			},
		},
	},
};

export default shilpConfig;