-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
-
44
-
45
<!doctype html>
<html lang="en-US">
<head>
<meta charset="utf-8" />
<title>JSX helper sample | ef.js</title>
<script type="module" defer src="./main.tsx"></script>
<style>
:root {
font-family: sans-serif;
}
.root {
display: flex;
gap: 20px;
}
.counter {
display: inline-grid;
grid-template-columns: 2em 3em 2em;
grid-template-areas:
"label label label"
"decr value incr";
justify-items: center;
align-items: center;
gap: 10px;
border: 1px solid #ccc;
padding: 10px 20px;
border-radius: 3px;
}
.counter-label {
grid-area: label;
font-weight: bold;
margin: 0;
}
.counter-button {
justify-self: stretch;
align-self: stretch;
}
</style>
</head>
<body></body>
</html>