properties
changelog

Bottom Offset

Set positioned element's bottom side distance or offset from the parent.

Usage:

  • @position bottom-*;

Reference

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

  properties: {
    position: {
      bottom: {
        property: "bottom: <n><v><i>;",
        resolve: "spacing",
        themeKey: "spacing",
        values: {},
      },
    },
  },
};

export default shilpConfig;

Published at:

Last updated at: