-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·78 lines (71 loc) · 2.31 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
<!doctype html>
<!--[if lt IE 9 ]> <html lang="en-GB" class="no-js lt-ie9"> <![endif]-->
<!--[if IE 9 ]> <html lang="en-GB" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en-GB" class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="initial-scale=1">
<title>Sassaparilla: NetMag Tutorial</title>
<link href="assets/css/screen.css" rel="stylesheet" type="text/css" media="all"/>
</head>
<body>
<div class="grid-demo">
<header class="grid-demo__header">
<div class="row">
<div class="colspan2-2">
<h1>Sassaparilla: Net Mag tutorial</h1>
</div>
</div>
</header>
<!-- Grid divisions that change at each breakpoint -->
<div class="row">
<!-- span 2 of 2 columns, 4 of 6 columns and 3 of 8 columns -->
<div class="colspan2-2 colspan6-4 colspan8-3 as-grid">
<div class="grid-demo__module">
a
</div>
</div>
<!-- span 1 of 2 columns, 2 of 6 columns and 2 of 8 columns -->
<div class="colspan2-1 colspan6-2 colspan8-2 as-grid">
<div class="grid-demo__module">
b
</div>
</div>
<!-- span 1 of 2 columns, 2 of 6 columns and 1 of 8 columns -->
<div class="colspan2-1 colspan6-2 colspan8-1 as-grid">
<div class="grid-demo__module">
c
</div>
</div>
<!-- span 2 of 2 columns, 4 of 6 columns and 2 of 8 columns -->
<div class="colspan2-2 colspan6-4 colspan8-2 as-grid">
<div class="grid-demo__module">
d
</div>
</div>
</div>
<!-- Grid divisions that both change and remain at each breakpoint -->
<div class="row">
<!-- span 2 of 2 columns always (100%) -->
<div class="colspan2-2 as-grid">
<div class="grid-demo__module">
1
</div>
</div>
<!-- span 1 of 2 columns (50%) until we hit 8 columns then span 3 of 8 columns -->
<div class="colspan2-1 colspan8-3 as-grid">
<div class="grid-demo__module">
2
</div>
</div>
<!-- span 1 of 2 columns (50%) until we hit 8 columns then span 5 of 8 columns -->
<div class="colspan2-1 colspan8-5 as-grid">
<div class="grid-demo__module">
3
</div>
</div>
</div>
</div>
</body>
</html>