pendorclock/demo/index.html

37 lines
769 B
HTML

<!doctype html>
<html lang="en-GB">
<head>
<meta charset="utf-8">
<style>
@font-face {
font-family: 'Bitwise';
font-style: normal;
font-weight: 400;
src: url("https://pendorwright.com/fonts/Bitwise/Bitwise.woff2") format("woff2"),
url("https://pendorwright.com/fonts/Bitwise/Bitwise.ttf") format("truetype");
}
body {
background: #fafafa;
}
pendor-clock::clock {
font-family: Bitwise;
}
</style>
</head>
<body>
<div id="demo"></div>
<script type="module">
import { html, render } from 'lit';
import '../dist/src/pendor-clock.js';
render(
html`
<pendor-clock>
</pendor-clock>
`,
document.querySelector('#demo')
);
</script>
</body>
</html>