properties
changelog

Align Self

Align individual grid item along block-axis.

Usage:

  • @grid self-*;

Reference

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

  properties: {
    grid: {
      self: {
        property: "align-self: <v><i>;",
        values: {
          start: "start",
          center: "center",
          end: "end",
          stretch: "stretch",
          baseline: "baseline",
        },
      },
    },
  },
};

export default shilpConfig;

Published at:

Last updated at: