-
Notifications
You must be signed in to change notification settings - Fork 16
/
main.css
60 lines (48 loc) · 939 Bytes
/
main.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
body {
margin: 20px;
padding: 0;
}
#progressPath path {
stroke-width: 10;
}
.baby-profile {
background: #f2f5f7;
width: 100%;
height: 100%;
border-radius: 5%;
display: flex;
align-items: center;
justify-content: center;
}
.avatar-box {
width: 300px;
height: 300px;
border-radius: 50%;
background: white;
position: relative;
}
.avatar-box:before {
position: absolute;
left: 50%;
top: -30px;
margin-left: -40px;
z-index: -1;
content: '';
width: 0;
height: 0;
border-left: 40px solid transparent;
border-right: 40px solid transparent;
border-bottom: 40px solid white;
}
.avatar {
width: 226px;
height: 226px;
background: url('http://i.imgur.com/kc8uGI4.jpg');
background-size: 100%;
position: absolute;
left: 50%;
top: 50%;
margin-left: -113px;
margin-top: -113px;
border-radius: 50%;
}