-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
82 lines (75 loc) · 1.61 KB
/
styles.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
@import "compass/css3";
* {
box-sizing: border-box;
}
body {
padding: 50px;
background: purple;
}
.mug {
position: relative;
height: 300px;
width: 250px;
margin: auto;
padding-top: 100px;
background: linear-gradient(245deg, #ddd 0, grey 0.5%, white 100%);
background-color: white;
border-radius: 50% 50%;
border-top-left-radius: 125px 50px;
border-top-right-radius: 140px 50px;
}
.mug_inside {
position: absolute;
height: 60px;
width: 223px;
top: 10px;
left: 15px;
border-radius: 50%;
background: linear-gradient(140deg, #eee 0, silver 100%);
box-shadow: 1px 0 15px #eee;
}
.mug:after {
/*this is the coffee*/
content: "";
position: absolute;
border-style: solid;
border-color: rgba(126, 92, 39, 1);
height: 37px;
width: 217px;
top: 24.5px;
left: 16px;
border-radius: 50% 50% 60% 60%;
background: linear-gradient(
-6deg,
black 1%,
rgba(126, 89, 39, 1) 68%,
rgba(237, 152, 60, 1) 100%
);
}
.handle {
position: relative;
height: 145px;
width: 75px;
top: -35px;
left: -65px;
border-top-left-radius: 110px;
border-bottom-left-radius: 120px;
border-top-right-radius: 50% 20px;
border-bottom-right-radius: 7% 10px;
background: linear-gradient(245deg, #ddd 0, lightgrey 0.5%, white 100%);
background-color: white;
}
.handle:after {
content: "";
position: absolute;
height: 90px;
width: 45px;
top: 27px;
left: 25px;
border-top-left-radius: 255px 270px;
border-bottom-left-radius: 305px 300px;
border-top-right-radius: 45px 5px;
border-bottom-right-radius: 45px 5px;
background: purple;
box-shadow: -5px 10px 20px #ccc;
}