-
Notifications
You must be signed in to change notification settings - Fork 0
/
responsive_static.html
80 lines (76 loc) · 2.93 KB
/
responsive_static.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
<!DOCTYPE html>
<html>
<head>
<title>CSS</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="./style/reset.css" />
<link rel="stylesheet" type="text/css" href="./style/main.css" />
<link rel="stylesheet" type="text/css" href="./style/responsive_static.css" />
</head>
<body>
<h4 class="bold m-bottom10">One responsive element:</h4>
<ul class="abs ex1 border m30 bw3 bc1 clearfix">
<li class="bc-green left"></li>
<li class="bc-green left"></li>
<li class="bc-green left"></li>
<li class="bc-green left"></li>
<li class="absolute bc-yellow"></li>
<li class="bc-red right"></li>
<li class="bc-red right"></li>
<li class="bc-red right"></li>
<li class="bc-red right"></li>
<li class="bc-blue right"></li>
<li class="bc-blue right"></li>
<li class="bc-blue right"></li>
<li class="bc-blue right"></li>
</ul>
<h4 class="bold m-top20">Two responsive element (50%):</h4>
<ul class="abs ex2 border m30 bw3 bc1 clearfix">
<li class="bc-green left"></li>
<li class="bc-green left"></li>
<li class="bc-green left"></li>
<li class="bc-green left"></li>
<li class="absolute clearfix">
<div class="w50 left">
<div class="bc-yellow left"></div>
</div>
<div class="w50 left">
<div class="bc-yellow left"></div>
</div>
</li>
<li class="bc-red right"></li>
<li class="bc-red right"></li>
<li class="bc-red right"></li>
<li class="bc-red right"></li>
<li class="bc-blue right"></li>
<li class="bc-blue right"></li>
<li class="bc-blue right"></li>
<li class="bc-blue right"></li>
</ul>
<h4 class="bold m-top20">Static element between two responsive element (50%):</h4>
<ul class="abs ex2 ex3 border m30 bw3 bc1 clearfix">
<li class="bc-green left"></li>
<li class="bc-green left"></li>
<li class="bc-green left"></li>
<li class="bc-green left"></li>
<li class="absolute clearfix">
<div class="w50 left">
<div class="bc-yellow left"></div>
</div>
<div class="w50 left">
<div class="bc-yellow left"></div>
</div>
<div class="wrap left">
<div class="bc-blue right"></div>
<div class="bc-blue right"></div>
<div class="bc-blue right"></div>
<div class="bc-blue right"></div>
</div>
</li>
<li class="bc-red right"></li>
<li class="bc-red right"></li>
<li class="bc-red right"></li>
<li class="bc-red right"></li>
</ul>
</body>
</html>