Add Lottie Files animation preview support

This commit is contained in:
ema
2025-07-05 09:25:22 +08:00
parent 5e459e35e5
commit 3fce8b4f53
24 changed files with 1237 additions and 313 deletions

View File

@@ -0,0 +1,29 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>SVG Preview</title>
<style>
html, body {
margin: 0;
height: 100%;
overflow: hidden;
}
#svgContainer {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
user-select: none;
}
</style>
</head>
<body>
<div id="svgContainer">
<div id="svgWrapper"></div>
</div>
<script src="svg2html.js"></script>
</body>
</html>