-
Notifications
You must be signed in to change notification settings - Fork 7
/
style.css
67 lines (65 loc) · 1.07 KB
/
style.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
62
63
64
65
66
67
*{
margin:0;
padding:0;
box-sizing:border-box;
}
body{
min-height:100vh;
min-width:100vh;
display:flex;
justify-content:center;
align-items:center;
}
.shapes-container{
display:flex;
justify-content:space-between;
width:75%;
align-items:center;
}
#square{
width:120px;
height:120px;
background: #ff0000;
}
#egg{
width:94px;
height:120;
background:#ff0000;
}
#circle{
width:120px;
height:120px;
color:#0000ff;
border-radius:50%;
}
#semicircle{
width:120px;
height:60px;
background:#000000;
border-radius: 50% / 100% 100% 0 0;
}
#triangle-up{
width:0px;
height:0px;
border-left:60px solid transparent;
border-right:60px solid transparent;
border-bottom:120px solid green;
}
#diamond{
width: 0;
height: 0;
border: 50px solid transparent;
border-bottom-color: #e6165d;
position: relative;
top: -50px;
}
#diamond:after{
content: '';
position: absolute;
left: -50px;
top: 50px;
width: 0;
height: 0;
border: 50px solid transparent;
border-top-color: #e6165d;
}