Skip to content

Interface: CellCss ​

CSS placement for one cell, as percentages of the layout bounds, so the result scales with whatever size the container is rendered at.

Apply to an absolutely positioned element inside a position: relative container whose aspect ratio matches layout.bounds (see boundsAspectRatio). Works with any framework, or none.

Properties ​

clipPath ​

ts
clipPath: string;

A polygon(...) clip path relative to the element's own box.


height ​

ts
height: string;

left ​

ts
left: string;

top ​

ts
top: string;

width ​

ts
width: string;

Hat tiling and isohedral tilings after Craig S. Kaplan's hatviz and Tactile (BSD 3-Clause).