docs: updated example, moved to new folder

This commit is contained in:
Daniel Ledda
2022-05-28 13:48:49 +02:00
parent 51e94c6497
commit 875fa7e5da
2 changed files with 43 additions and 33 deletions

31
example/index.html Normal file
View File

@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Ladder Test Playground</title>
<style>
.counter-widget {
margin-bottom: 10px;
}
.counter {
padding: 5px;
}
.rung {
width: 30px;
height: 30px;
border: solid black;
border-width: 0 2px 2px 2px;
}
.rung:last-of-type {
border-width: 0 2px 0 2px;
}
.rung:first-of-type {
border-width: 0 2px 2px 2px;
}
</style>
</head>
<body>
<div id="app"></div>
<script type="module" src="./main.tsx"></script>
</body>
</html>