-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
106 lines (106 loc) · 6.86 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
<!DOCTYPE html>
<html lang="it">
<head>
<title>Layout Saga</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="css/style.css" media="all">
</head>
<body>
<h1>Layout Saga</h1>
<h2>A collection of layout techniques</h2>
<ul class="layout_list">
<li>
<a href="layout_table.html">Layout in table</a>
<ul class="layout_list__item__sublist">
<li class="m-pros">nestable layout</li>
<li class="m-pros">use of CSS2 standard properties</li>
<li class="m-pros">compatibile with first version of some browser (FF, CH, O)</li>
<li class="m-warning">needs modernizr to read html5 tag (or use html4 tag)</li>
<li class="m-cons">not compatibile with IE</li>
</ul>
</li>
<li>
<a href="layout_position_fixed.html">Layout in position fixed</a>
<ul class="layout_list__item__sublist">
<li class="m-warning">use of <code>calc</code> value for operation</li>
<li class="m-cons">not compatibile with old browser (IE8, CH25, FF15, O12, SA5)</li>
</ul>
</li>
<li class="layout_list__item">
<a href="layout_position_fixed_wrapper.html">Layout in position fixed (with padding wrapper)</a>
<ul class="layout_list__item__sublist">
<li class="m-pros">fully compatible with old browser (IE8 included!)</li>
<li class="m-pros">no use of <code>calc</code> value for operation</li>
<li class="m-pros">no use of both <code>top:0; bottom:0;</code></li>
<li class="m-pros">spacing layout model by couple of div and <code>padding</code> - <a href="https://twitter.com/violo">@violo</a> technique</li>
<li class="m-warning">IE8 needs modernizr to read html5 tag (or use html4 tag)</li>
<li class="m-cons">not compatibile with <strong>very</strong> old browser (IE7, FF28, CH14, O12, SA5)</li>
</ul>
</li>
<li>
<a href="layout_position_absolute.html">Layout in position absolute</a>
<ul class="layout_list__item__sublist">
<li class="m-pros">nestable layout</li>
<li class="m-pros">automatic scrolling layout with <code>~</code> selector - <a href="https://twitter.com/violo">@violo</a> technique</li>
<li class="m-warning">use of both <code>top:0; bottom:0;</code></li>
<li class="m-cons">not compatibile with old browser (IE8, FF15, CH25, O12, SA5)</li>
</ul>
</li>
<li>
<a href="layout_position_absolute_relative.html">Layout in position absolute (with viewport relative units)</a>
<ul class="layout_list__item__sublist">
<li class="m-pros">nestable layout</li>
<li class="m-pros">automatic scrolling layout with <code>~</code> selector - <a href="https://twitter.com/violo">@violo</a> technique</li>
<li class="m-warning">use of <code>vh vw</code> viewport relative units</li>
<li class="m-cons">not compatibile with old browser (IE8, FF28, CH28, O21, SA5)</li>
</ul>
</li>
<li>
<a href="layout_float.html">Layout in position absolute (with float)</a>
<ul class="layout_list__item__sublist">
<li class="m-pros">nestable layout</li>
<li class="m-pros">automatic scrolling layout with <code>~</code> selector - <a href="https://twitter.com/violo">@violo</a> technique</li>
<li class="m-warning">use of <code>vh vw</code> viewport relative units</li>
<li class="m-cons">not compatibile with old browser (IE8, FF28, CH28, O21, SA5)</li>
</ul>
</li>
<li>
<a href="layout_flexbox_row_direction.html">Layout in flex (row direction)</a>
<ul class="layout_list__item__sublist">
<li class="m-pros"><strong>very</strong> light and clean code <em>(30% lighter!)</em></li>
<li class="m-pros"><strong>very</strong> easy responsive and media query set up <em>(also vertically ordered!)</em></li>
<li class="m-pros">nestable layout</li>
<li class="m-pros">automatic scrolling layout with <code>~</code> selector - <a href="https://twitter.com/violo">@violo</a> technique</li>
<li class="m-warning">use of <code>vh vw</code> viewport relative units</li>
<li class="m-warning">use of <code>calc</code> value for operation</li>
<li class="m-warning">use of <code>flex</code> properties</li>
<li class="m-cons">not compatibile with old browser (IE10, CH37, FF27, O20, SA8)</li>
</ul>
</li>
<li>
<a href="layout_flexbox_column_direction.html">Layout in flex (column direction)</a>
<ul class="layout_list__item__sublist">
<li class="m-pros"><strong>very</strong> light and clean code <em>(30% lighter!)</em></li>
<li class="m-pros"><strong>very</strong> easy responsive and media query set up <em>(also vertically ordered!)</em></li>
<li class="m-pros">no need to manage scrolling layout</li>
<li class="m-warning">use of <code>flex</code> properties</li>
<li class="m-cons">not compatibile with old browser (IE10, CH50, FF57, O19, SA9)</li>
</ul>
</li>
<li>
<a href="layout_grid.html">Layout in grid</a>
<ul class="layout_list__item__sublist">
<li class="m-pros"><strong>very</strong> light and clean code <em>(50% lighter!)</em></li>
<li class="m-pros"><strong>very</strong> clean code and pure semantic html</li>
<li class="m-pros"><strong>very</strong> easy responsive and media query set up <em>(also vertically ordered!)</em></li>
<li class="m-pros">no need to manage scrolling layout</li>
<li class="m-warning">use of <code>grid</code> properties</li>
<li class="m-cons">not compatibile with old browser (IE10, ED14, CH61, FF57, O, SA10)</li>
</ul>
</li>
</ul>
<p class="reference">Tested with <a href="http://www.browserstack.com/">BrowserStack</a></p>
</body>
</html>