Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/frugal/dep/lightningcss.ts>Size

A frugal web framework
Latest
type alias Size
import { type Size } from "https://deno.land/x/frugal@0.9.6/dep/lightningcss.ts";

A value for the preferred size properties, i.e. width and `height.

definition:
| { type: "auto"; }
| { type: "length-percentage"; value: DimensionPercentageFor_LengthValue; }
| { type: "min-content"; vendorPrefix: VendorPrefix; }
| { type: "max-content"; vendorPrefix: VendorPrefix; }
| { type: "fit-content"; vendorPrefix: VendorPrefix; }
| { type: "fit-content-function"; value: DimensionPercentageFor_LengthValue; }
| { type: "stretch"; vendorPrefix: VendorPrefix; }
| { type: "contain"; }