-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
98 lines (85 loc) · 2.03 KB
/
index.html
File metadata and controls
98 lines (85 loc) · 2.03 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Squid - A squared grid.</title>
<style>
body {
margin: 0;
}
.grid {
position: relative;
overflow: hidden;
margin-bottom: 1000px;
transition: height 250ms cubic-bezier(0.77,0,0.175,1);
}
.grid.squid-resizing {
transition: none;
}
.grid-item {
background: salmon;
transition:
height 250ms cubic-bezier(0.77,0,0.175,1),
top 250ms cubic-bezier(0.77,0,0.175,1),
left 250ms cubic-bezier(0.77,0,0.175,1),
width 250ms cubic-bezier(0.77,0,0.175,1);
}
.grid-item-top {
color: #fff;
background: #000;
}
.squid-resizing .grid-item {
transition: none;
}
.squid-initialized .grid-item {
top: 100%;
}
.grid-item span {
position: absolute;
top: 45%;
left: 0;
right: 0;
font-family: Menlo, monospace;
text-align: center;
}
.actions {
position: fixed;
left: 0;
bottom: 200px;
right: 0;
text-align: center;
}
button {
padding: 5px 10px;
color: #fff;
font-size: 16px;
background: #444;
border: 2px solid #fff;
cursor: pointer;
outline: none;
}
</style>
</head>
<body>
<div class="grid">
<div class="grid-item grid-item-top"></div>
<div class="grid-item"></div>
<div class="grid-item"></div>
<div class="grid-item"></div>
<div class="grid-item grid-item-top"></div>
<div class="grid-item grid-item-top grid-item-static"></div>
<div class="grid-item"></div>
<div class="grid-item grid-item-static"></div>
</div>
<div class="actions">
<button data-action-add-items>Add items</button>
<button data-action-add-column>Add column</button>
<button data-action-remove-column>Remove column</button>
<button data-action-gutter>New gutter</button>
</div>
<script src="jspm_packages/system.js"></script>
<script src="config.js"></script>
<script>
System.import('demo/app');
</script>
</body>
</html>