-
Notifications
You must be signed in to change notification settings - Fork 0
/
shape-position.html
76 lines (70 loc) · 1.71 KB
/
shape-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
<html>
<head>
<style>
.d1 {
width: 600px;
height: 400px;
background-color: aquamarine;
border: black dashed 2px;
z-index: 0;
}
.d2 {
top: 50px;
left: 50px;
width: 100px;
height: 100px;
text-align: center;
border-radius: 50%;
background-color: fuchsia;
border: black dashed 2px;
position: absolute;
z-index: 1;
}
.d3 {
top: 100px;
left: 200px;
width: 100px;
height: 100px;
text-align: center;
background-color: fuchsia;
border: black dashed 2px;
position: absolute;
z-index: 1;
}
.d4 {
top: 150px;
left: 350px ;
width: 100px;
height: 100px;
border-radius: 50%;
text-align: center;
background-color: fuchsia;
border: black dashed 2px;
position: absolute;
z-index: 1;
}
.m1{
height: 100px;
width: 400px;
background-color: pink;
margin-bottom: 20px;
}
.m2{
height: 100px;
width: 400px;
background-color: palegreen;
margin-top: 40px;
}
</style>
</head>
<body>
<div class="d1">
<div class="d2">L</div>
<div class="d3">J</div>
<div class="d4">U</div>
</div>
<br>
<div class="m1"></div>
<div class="m2"></div>
</body>
</html>