-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
executable file
·160 lines (141 loc) · 4.17 KB
/
index.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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="grid.css" />
<title>Infinity CSS Grid</title>
<style>
* {
box-sizing: border-box;
}
body {
margin: 0;
font-size: 17px;
background-color: #333;
font-family: Helvetica, Arial, sans-serif;
}
h1 {
font-size: 32px;
font-family: 'HelveticaNeueThin', 'HelveticaNeue-Thin', 'Helvetica Neue Thin', Arial,
sans-serif;
font-weight: 200;
font-stretch: normal;
}
a {
color: #fff;
}
#main {
margin: 0 auto;
width: 80%;
padding: 8px;
background-color: #fff;
}
.column,
.merge2,
.merge3 {
color: #fff;
background-color: #00bbeb;
padding: 15px;
margin: 10px 8px 10px 8px;
text-align: center;
}
</style>
</head>
<body>
<div id="main">
<div class="row">
<div class="column" style="border:0; background:none">
<img src="infinity.svg" style="width:600px" />
</div>
</div>
<div class="row">
<div class="column"><h1>Infinity CSS Grid</h1></div>
</div>
<div class="row">
<div class="column"><p>Fluid Flex Solution for making infinite grid columns.</p></div>
</div>
<div class="row">
<div class="column">50%</div>
<div class="column">50%</div>
</div>
<div class="row">
<div class="column">33,3%</div>
<div class="column">33,3%</div>
<div class="column">33,3%</div>
</div>
<div class="row">
<div class="column">25%</div>
<div class="column">25%</div>
<div class="column">25%</div>
<div class="column">25%</div>
</div>
<div class="row">
<div class="column">20%</div>
<div class="column">20%</div>
<div class="column">20%</div>
<div class="column">20%</div>
<div class="column">20%</div>
</div>
<div class="row">
<div class="column">16,66%</div>
<div class="column">16,66%</div>
<div class="column">16,66%</div>
<div class="column">16,66%</div>
<div class="column">16,66%</div>
<div class="column">16,66%</div>
</div>
<div class="row">
<div class="column">12,5%</div>
<div class="column">12,5%</div>
<div class="column">12,5%</div>
<div class="column">12,5%</div>
<div class="column">12,5%</div>
<div class="column">12,5%</div>
<div class="column">12,5%</div>
<div class="column">12,5%</div>
</div>
<div class="row">
<div class="column">1</div>
<div class="column">1</div>
<div class="column">1</div>
<div class="merge3">Merge 3</div>
<div class="column">1</div>
<div class="column">1</div>
<div class="merge2">Merge 2</div>
<div class="column">1</div>
</div>
<div class="row">
<div class="merge3">Merge 3 (take 3 places)</div>
<div class="column">1</div>
<div class="column">1</div>
<div class="column">1</div>
</div>
<div class="row">
<div class="merge4 nested row">
<div class="column">Nested</div>
<div class="column">Nested</div>
<div class="column">Nested</div>
</div>
<div class="column">1</div>
</div>
<div class="row">
<div class="column">Ultra minimal only 0.15 Kb</div>
<div class="column">Fluid</div>
<div class="column">Just add columns into the row container</div>
</div>
<div class="row">
<div class="column">
<p>
You can add as many columns as you like. You can merge the columns or insert columns
inside columns. Everything is 0.1 Kb and even works in IE10.
</p>
</div>
</div>
<div class="row">
<div class="column">
<p><a href="https://github.com/vladocar/infinity-css-grid/">Learn more on Github </a></p>
</div>
</div>
</div>
</body>
</html>