Simple, but working!, prototype of a WebComponent based clock.
This commit is contained in:
parent
4071e8be63
commit
2ada8acc64
7 changed files with 674 additions and 0 deletions
17
webcomponent/index.html
Normal file
17
webcomponent/index.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Test page</title>
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: 'Clockfont';
|
||||
src: url('../legacy/resources/uhr.woff') format('woff');
|
||||
}
|
||||
</style>
|
||||
<script type="module" src="clock.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<word-clock style="display: inline-block; width:800px;height:800px" debug="false"></word-clock>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue