-
Notifications
You must be signed in to change notification settings - Fork 0
/
Position_Property.html
97 lines (64 loc) Β· 1.59 KB
/
Position_Property.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Position_Property</title>
<link rel="shortcut icon" href="pic.jpg">
<style>
img{
margin:20px ;
}
.l{
position:relative;
/* top:500px; */
/* position:absolute; */
/* height:8000px; */
}
.m{
position:relative;
/* top:400px; */
}
.n{
/* position:absolute; */
/* position:relative; */
/* top:300px; */
top:400px;
left:900px;
position:fixed;
}
.o{
/* position:absolute; */
position:sticky;
right:900px;
top:600px;
/* position:fixed; */
}
.container{
/* position:relative; */
height:800px;
}
#w{
height:80000px;
}
</style>
</head>
<body>
<div >
<img src="pic.jpg" width="250px">
<img src="pic.jpg" width="250px">
<img src="pic.jpg" width="250px">
<img src="pic.jpg" width="250px">
</div>
<br/>
<div class="container">
<img class="l" src="pic.jpg" width="250px">
<img class="m" src="pic.jpg" width="250px">
<img class="n" src="pic.jpg" width="250px">
<img class="o" src="pic.jpg" width="250px">
</div>
<br/>
<div id="w">
</div>
</body>
</html>