Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
type alias PositionComponentFor_VerticalPositionKeyword
import { type PositionComponentFor_VerticalPositionKeyword } from "https://deno.land/x/frugal@0.9.6/dep/lightningcss.ts";

A component within a Position value, representing a position along either the horizontal or vertical axis of a box.

This type is generic over side keywords.

definition: { type: "center"; } | { type: "length"; value: DimensionPercentageFor_LengthValue; } | { offset?: DimensionPercentageFor_LengthValue | null; side: VerticalPositionKeyword; type: "side"; }