-
Notifications
You must be signed in to change notification settings - Fork 2
/
semantic.html
113 lines (89 loc) · 2.79 KB
/
semantic.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Flex One - 1 CSS Class System</title>
<style>
* {box-sizing: border-box}
body {
margin: 0;
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;
}
.column{display: flex; flex-flow: row wrap; width: 80%; margin: 0 auto}
.row{flex:1}
.row {
border: 1px solid #e56e6e;
color: #1577ca;
padding: 10px;
margin: 10px 0 10px 15px;
text-align: center;
}
</style>
</head>
<body>
<div class="column">
<div class="row"> <h1>Flex One - 1 CSS Class System</h1></div>
</div>
<div class="column">
<div class="row"> <p> .row {flex:1}</p></div>
</div>
<div class="column">
<div class="row">50%</div>
<div class="row">50%</div>
</div>
<div class="column">
<div class="row">33,3%</div>
<div class="row">33,3%</div>
<div class="row">33,3%</div>
</div>
<div class="column">
<div class="row">25%</div>
<div class="row">25%</div>
<div class="row">25%</div>
<div class="row">25%</div>
</div>
<div class="column">
<div class="row">20%</div>
<div class="row">20%</div>
<div class="row">20%</div>
<div class="row">20%</div>
<div class="row">20%</div>
</div>
<div class="column">
<div class="row">16,66%</div>
<div class="row">16,66%</div>
<div class="row">16,66%</div>
<div class="row">16,66%</div>
<div class="row">16,66%</div>
<div class="row">16,66%</div>
</div>
<div class="column">
<div class="row">12,5%</div>
<div class="row">12,5%</div>
<div class="row">12,5%</div>
<div class="row">12,5%</div>
<div class="row">12,5%</div>
<div class="row">12,5%</div>
<div class="row">12,5%</div>
<div class="row">12,5%</div>
</div>
<div class="column">
<div class="row" style="text-align:left">
<p> This layout uses only the .row and .column class:</p>
<p>.column{display: flex; flex-flow: row wrap; width: 80%; margin: 0 auto} <br><br>
.row{flex:1}
</p>
</div>
</div>
<div class="column">
<div class="row"><p><a href="https://github.com/vladocar/Flex-One">Download on Github </a></p></div>
</div>
</div>
</body>
</html>