-
Notifications
You must be signed in to change notification settings - Fork 0
/
position.html
40 lines (33 loc) · 1.14 KB
/
position.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>position</title>
<link rel="stylesheet" href="css/media.css">
<link rel="stylesheet" href="css/position.css">
</head>
<body>
<nav>
<ul>
<li><a href="index.html">index</a></li>
<li><a href="width&height.html">width&height</a></li>
<li><a href="position.html">position</a></li>
<li><a href="margin&padding.html">margin&padding</a></li>
<li><a href="font.html">font</a></li>
<li><a href="border.html">border</a></li>
<li><a href="cemterelement.html">cemterelement</a></li>
</ul>
</nav>
<br><br><br><br><br>
<div class="container">
<div class="position-static">static</div>
<div class="position-relative">relative</div>
<div class="position-fixed">fixed</div>
<div class="position-absolute">absolute</div>
<div class="position-sticky">sticky</div>
</div>
</div>
</body>
</html>