如何动态地生成名片[关闭]

问题描述 投票:-4回答:1

我不知道这是否网站create business cards online是可能的查询?

你只要把表单信息,并生成图像格式,它是可编辑也多卡设计。

您澄清将非常感激。

这是工具:https://fansycard.com

javascript php jquery css3 jquery-ui
1个回答
3
投票

fansycard好像是用html2canvas库,它非常漂亮的完成这个工作。

检查了这一点:https://html2canvas.hertzen.com/

HTML

<div id="capture" style="padding: 10px; background: #f5da55">
    <h4 style="color: #000; ">Hello world!</h4>
</div>

JavaScript的

html2canvas(document.querySelector("#capture")).then(canvas => {
    document.body.appendChild(canvas)
});
© www.soinside.com 2019 - 2024. All rights reserved.