-
Notifications
You must be signed in to change notification settings - Fork 0
/
cluster.html
106 lines (86 loc) · 2.75 KB
/
cluster.html
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html lang="en">
<head>
<title>Cluster</title>
<script type="module" src="./layouts.js"></script>
<style>
stack-layout {
border: 4px solid red;
}
p {
padding: 2px;
}
</style>
</head>
<body>
<h3>stack wrapper</h3>
<!-- <center-layout> -->
<stack-layout space="1ch">
<h3>cluster > 4 p's</h3>
<cluster-layout>
<p>Item</p>
<p>Item</p>
<p>Item</p>
<p>Item</p>
</cluster-layout>
<h3>cluster > 9 box's</h3>
<cluster-layout>
<box-layout padding="1rem">One</box-layout>
<box-layout padding="1rem">Two</box-layout>
<box-layout padding="1rem">Three</box-layout>
<box-layout padding="1rem">One</box-layout>
<box-layout padding="1rem">Two</box-layout>
<box-layout padding="1rem">Three</box-layout>
<box-layout padding="1rem">One</box-layout>
<box-layout padding="1rem">Two</box-layout>
<box-layout padding="1rem">Three</box-layout>
</cluster-layout>
<h3>box > cluster > box & cluster< of 6 a's /h3>
<box-layout padding="1ch">
<cluster-layout justify="space-between" align="center">
<box-layout padding="1ch">My Website</box-layout>
<cluster-layout justify="flex-start">
<a href="#">Item</a>
<a href="#">Item</a>
<a href="#">Item</a>
<a href="#">Item</a>
<a href="#">Item</a>
<a href="#">Item</a>
</cluster-layout>
</cluster-layout>
</box-layout>
</stack-layout>
<!-- </center-layout> -->
</body>
</html>
<!--
<box-layout>
<center-layout>
<stack-layout>
<h2>My page</h2>
<p>
Lorem ipsum dolor sit amet consectetur adipisicing elit. Provident illo qui temporibus, accusamus nostrum perspiciatis architecto nihil quisquam quaerat illum, rem assumenda eaque doloribus quod fugit quam modi non unde.
</p>
</stack-layout>
<center-layout>
</box-layout>
<cluster-layout>
<div>
<p>Item</p>
</div>
<div>
<p>Item</p>
</div>
<div>
<p>Item</p>
</div>
<div>
<p>Item</p>
</div>
</cluster-layout>
-->
<!-- max-inline-size: min-content; -->
<!-- <box-layout> -->
<!-- <cluster-layout> -->
<!-- <box-layout padding="var(--s0)">One</box-layout> -->
<!-- </cluster-layout> -->