-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfloatfix.html
64 lines (56 loc) · 2.34 KB
/
floatfix.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
<!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/float_responsive.css" />
</head>
<body>
<div id="clearfix" class="m-top10">ClearFix</div>
<div class="clear-cont border bw3 bc0 bold clearfix">
<div class="cell border bw3 bc1 right">div1</div>
<div class="cell border bw3 bc1 right">div2</div>
<div class="cell border bw3 bc1 right">div3</div>
</div>
<div id="clear" class="m-top10">Clear</div>
<div class="clear-cont border bw3 bc0 bold">
<div class="cell border bw3 bc1 right">div1</div>
<div class="cell border bw3 bc1 right">div2</div>
<div class="cell border bw3 bc1 right">div3</div>
<div class="clear"></div>
</div>
<div id="inline-block" class="m-top10">Inline-block</div>
<div class="clear-cont border bw3 bc0 bold inline-block">
<div class="cell border bw3 bc1 right">div1</div>
<div class="cell border bw3 bc1 right">div2</div>
<div class="cell border bw3 bc1 right">div3</div>
</div>
<div id="float" class="m-top10">Float</div>
<div class="clear-cont border bw3 bc0 bold left">
<div class="cell border bw3 bc1 right">div1</div>
<div class="cell border bw3 bc1 right">div2</div>
<div class="cell border bw3 bc1 right">div3</div>
</div>
<div class="clear"></div>
<div id="overflow" class="m-top10">Overflow</div>
<div class="clear-cont border bw3 bc0 bold overflow-hidden">
<div class="cell border bw3 bc1 right">div1</div>
<div class="cell border bw3 bc1 right">div2</div>
<div class="cell border bw3 bc1 right">div3</div>
</div>
<div id="table" class="m-top10">Table</div>
<div class="clear-cont border bw3 bc0 bold table">
<div class="cell border bw3 bc1 right">div1</div>
<div class="cell border bw3 bc1 right">div2</div>
<div class="cell border bw3 bc1 right">div3</div>
</div>
<div id="height" class="m-top10">Height</div>
<div class="clear-cont border bw3 bc0 bold h50">
<div class="cell border bw3 bc1 right">div1</div>
<div class="cell border bw3 bc1 right">div2</div>
<div class="cell border bw3 bc1 right">div3</div>
</div>
</body>
</html>