-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
114 lines (104 loc) · 2.8 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<link href='https://fonts.googleapis.com/css?family=Roboto:400,100,500,700' rel='stylesheet' type='text/css'>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="stylesheet" href="normalize.css">
<link rel="stylesheet" href="css/demo.css">
<title>I s2 Flexbox</title>
</head>
<body>
<header class="row fluid itens-sm-center column-sm-center section-one">
<div class="col-sm-12">
<h1>I <img src="img/favorite.png" alt=""> Flexbox</h1>
<p class="description">Parece float, mas é flex!</p>
</div>
</header>
<main>
<section class="row">
<div class="col-sm-12">
<h1>Nosso</h1>
<p>Não tenha medo de redimensionar sua tela e ver as alterações!</p>
</div>
<div class="col-sm-6 col-md-3">
<div class="module">col-sm-6 col-md-3</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="module">col-sm-6 col-md-3</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="module">col-sm-6 col-md-3</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="module">col-sm-6 col-md-3</div>
</div>
</section>
<section class="row">
<div class="col-sm-2">
<div class="module">col-sm-2</div>
</div>
<div class="col-sm-10">
<div class="module">col-sm-10</div>
</div>
</section>
<section class="row">
<div class="col-sm-8">
<div class="module">col-sm-8</div>
</div>
<div class="col-sm-4">
<div class="module">col-sm-4</div>
</div>
</section>
<section class="row">
<div class="col-sm-12">
<h1>Offset</h1>
<p>Empurrando as colunas... </p>
</div>
<div class="col-sm-offset-11 col-sm-1">
<div class="module"></div>
</div>
<div class="col-sm-offset-10 col-sm-2">
<div class="module"></div>
</div>
<div class="col-sm-offset-9 col-sm-3">
<div class="module"></div>
</div>
<div class="col-sm-offset-6 col-sm-6">
<div class="module"></div>
</div>
</section>
<section class="row">
<div class="col-sm-12">
<h1>Alinhamento main axis</h1>
<p>ao fim <span class="class">.x-sm-end</span></p>
</div>
</section>
<section class="row box x-sm-end">
<div class="col-sm-6">
<div class="module"></div>
</div>
</section>
<section class="row">
<div class="col-sm-12">
<p>ao centro <span class="class">.x-sm-center</span></p>
</div>
</section>
<section class="row box x-sm-center">
<div class="col-sm-6">
<div class="module"></div>
</div>
</section>
<section class="row">
<div class="col-sm-12">
<p>ao inicio <span class="class">.x-sm-start</span></p>
</div>
</section>
<section class="row box x-sm-start">
<div class="col-sm-6">
<div class="module"></div>
</div>
</section>
</main>
</body>
</html>