LayMeshDocs
中文

Catalog Bootstrap

Full source
catalog-bootstrap.lay
page=canvas(size=(100mm,100mm),stylesheet="@laymesh/bootstrap.css",background="#f6f7fb")style {rect {background-color:#0d6efd;border:1px solid #20332f}text {background-color:#e9ecef;color:#212529;border:1px solid #adb5bd} }item=page.add(rect(size=(40mm,25mm),class="bg-primary"),anchor=center,target=page.center)

Preview

Background
Preparing preview…
Catalog Bootstrap
Preparing preview…
Total —
Details

Not run yet

Measured in this browser; excludes debounce.

Edits stay on this page
Dependencies
  • examples/libraries/catalog-bootstrap.lay

Reproduce

sh
laymesh validate examples/libraries/catalog-bootstrap.laylaymesh render examples/libraries/catalog-bootstrap.lay -o figure.svglaymesh render examples/libraries/catalog-bootstrap.lay -o figure.pdflaymesh render examples/libraries/catalog-bootstrap.lay -o figure.png --dpi 300