LayMeshDocs
中文

Bootstrap Animate

Full source
bootstrap-animate.lay
page=canvas(size=(100mm,65mm),stylesheet=["@laymesh/bootstrap.css","@laymesh/animate.css"],background="#f6f7fb")card=page.add(rect(size=(40mm,25mm),class="bg-primary rounded shadow"),anchor=center,target=page.center)s=page.step(name="Styled entrance",start="after-previous",hold=1s)s.animate(card,class="animate__animated animate__fadeInUp",duration=800ms)

Preview

Background
Preparing animation…
Bootstrap Animate
Preparing preview…
Total —
Details

Not run yet

Measured in this browser; excludes debounce.

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

Reproduce

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