LayMesh文档
EN

First

完整源码
first.lay
page = canvas(size=(100mm,65mm), stylesheet="@laymesh/animate.css", background="#ffffff")title = page.add(text("Research results", font_size=6mm, color="#243447"), target=page.top_left, offset=(12mm,22mm))intro = page.step(name="Title entrance", hold=1s)intro.animate(title, class="animate__animated animate__fadeInUp")

预览

背景
正在准备动画…
First
正在准备预览…
合计 —
详情

尚未运行

本设备浏览器实测;不含防抖等待。

修改仅保留在本页
依赖文件
  • examples/animation/first.lay

复现

sh
laymesh validate examples/animation/first.laylaymesh render examples/animation/first.lay -o figure.svglaymesh render examples/animation/first.lay -o figure.pdflaymesh render examples/animation/first.lay -o figure.png --dpi 300