-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcss.css
61 lines (55 loc) · 958 Bytes
/
css.css
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
/* body {
margin: 0;
height: 100%;
} */
.main-part {
width: 806px;
height: 563px;
position: relative;
}
.first-div {
background-color: #daa1df;
position: static;
color: black;
width: 100px;
height: 60px;
top: 10px;
left: 10px;
}
.second-div {
position: relative;
background-color: #f1a358;
color: black;
left: 100px;
top: 20px;
width: 200px;
height: 200px;
}
.third-div {
position: fixed;
background-color: #99ed8a;
width: 200px;
height: 100px;
top: 20px;
left: 300px;
z-index: 100;
border: 1px solid green
}
.parent-block {
position: relative;
background-color: #c0c0c0;
border: 1px solid black;
width: 250px;
height: 250px;
left: 300px;
top: 20px;
}
.child-block {
border: 1px solid red;
background-color: #ec807e;
width: 80px;
height: 80px;
top: 50px;
left: 80px;
position: absolute;
}