-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.html
44 lines (38 loc) · 999 Bytes
/
demo.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
<!DOCTYPE html>
<html>
<head>
<title><flex-grid> Custom Element</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style type="text/css">
flex-grid {
outline: 1px solid red;
}
flex-grid>*:not(flex-grid) {
outline: 1px solid blue;
}
div {
text-align: center;
vertical-align: middle;
min-height: 1em;
}
</style>
</head>
<body>
<h1><flex-grid> Custom Element</h1>
<!-- dmeo code -->
<flex-grid>
<div>flex</div>
<div>flex</div>
<div>flex</div>
<div>flex</div>
<flex-grid sm="12" md="6" lg="6">
<div md="12">12</div>
<div md="6">6</div>
<div md="6">6</div>
<div md="8">8</div>
<div md="4">4</div>
</flex-grid>
</flex-grid>
<script src="flex-grid.js" type="text/javascript" async></script>
</body>
</html>