@lordicon/element
Version:
This package offers developers a convenient method for embedding, controlling, and customizing animated icons from Lordicon within web projects.
20 lines (17 loc) • 577 B
HTML
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Background</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" href="/main.css" />
<link rel="stylesheet" type="text/css" href="/07-background.css" />
<script type="module" src="/main.ts"></script>
</head>
<body>
<div class="container">
<lord-icon trigger="loop" delay="1500" src="/icons/background.json"></lord-icon>
<p class="text">Lorem ipsum dolor sit amet!</p>
</div>
</body>
</html>