emerald-counter/index.html

37 lines
809 B
HTML
Raw Normal View History

2023-11-27 02:22:07 +00:00
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<meta name="Description" content="Put your description here.">
<base href="/">
<style>
html,
body {
margin: 0;
padding: 0;
font-family: sans-serif;
background-color: #ffffff;
}
:root {
--step-0: clamp(0.75rem, 0.491rem + 1.295vw, 3rem);
}
emerald-counter {
--counter-size: calc(var(--step-0) * 4);
width: var(--counter-size);
font-size: var(--counter-size);
}
</style>
<title>emerald-counter</title>
</head>
<body>
<emerald-counter current-count=6></emerald-counter>
<script type="module" src="./out-tsc/src/emerald-counter.js"></script>
</body>
</html>