-
Notifications
You must be signed in to change notification settings - Fork 0
/
position.html
127 lines (116 loc) · 3.23 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
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!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>Document</title>
<style>
*{
margin: 0;
padding: 0;
}
li{
display: inline;
color: aliceblue;
padding-left: 23%;
text-align:center;
}
ul{
background-color: black;
height: 40px;
}
p{
border: 3px solid black;
}
#main{
background-color: aquamarine;
width: 40%;
text-align: center;
align-items: center;
margin: auto;
height: 500px;
}
#box{
background-color: blanchedalmond;
display: inline;
top: 0;
right: 100px;
width: 80%;
position: relative;
left: 180px;
bottom: 100px;
}
#here{
background-color: rgb(53, 85, 85);
margin: auto;
width: 40%;
padding: 1%;
margin-top: 100px;
position: fixed;
right: 100px;
bottom: 300px;
left: 100px;
right:100px;
}
#hey{
background-color: black;
color: aliceblue;
height: 60px;
position: relative;
top: 50px;
}
#red{
background-color: red;
width: 40%;
height: 150px;
margin: auto;
position:absolute ;
top: 0;
left: 0;
}
/* from there and in main */
header{
z-index: 1;
}
Ul{
background-color: rgb(72, 124, 107);
list-style: disc;
}
</style>
</head>
<body>
<header>
<nav>
<ul>
<li>home</li>
<li>about</li>
<li>contact</li>
</ul>
</nav>
</header>
<div id="main">
Lorem, ipsum dolor sit amet consectetur adipisicing elit. Doloribus iure, commodi quasi exercitationem, laudantium illo aliquid libero, similique soluta ab facilis accusantium esse ullam et aut beatae. Quaerat eos dolores magnam alias quo laudantium possimus obcaecati, reiciendis aliquid reprehenderit delectus.
<div id="box">
like
</div>
</div>
<div id="here">
Lorem ipsum dolor sit amet consectetur, adipisicing elit. Nesciunt provident vero minus facilis rem, commodi laborum quibusdam officiis! Voluptas dicta quo aut officiis tenetur? Consequun
<div id="hey">
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Molestias expedita maxime dignissimos sapiente alias nam repellendus sunt odio fuga illum.
</div>
<div id="red">
Lorem ipsum dolor sit amet consectetur adipisicing elit. Quis, corporis incidunt reprehenderit, voluptatibus nam laudantium ut vero libero ratione architecto inventore neque sit porro doloremque at ad quidem laboriosam atque!
</div>
</div>
<!--did'nt did any progress today-->
<div id="apple">
<ul id="hi">
<li class="new">apple</li>
<li class="new">apple</li>
<li class="new">apple</li>
</ul>
</div>
</body>
</html>