-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
89 lines (79 loc) · 1.43 KB
/
Copy pathstyles.css
File metadata and controls
89 lines (79 loc) · 1.43 KB
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
83
84
85
86
87
88
89
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #d6bcaa;
}
* {
font-family: 'Noto sans', sans-serif;
}
a {
color: #d6bcaa;
}
h1 {
font-size: min(2em, 7.5vw);
}
ul {
list-style-type: none;
padding: 0;
text-align: center;
}
.link {
position: absolute;
top: 20px;
}
.mug {
position: relative;
width: 150px;
height: 200px;
background-color: #f2e3d8;
border-radius: 50% / 40px;
z-index: -2;
}
.mug::before {
content: "";
position: absolute;
width: 100%;
height: 100%;
background-color: #f2e3d8f0;
border-radius: inherit;
mask: radial-gradient(
ellipse 136px 66px at 50% 40px,
transparent 50%,
#000 50%
);
clip-path: polygon(0 40px, 100% 40px, 100% 100%, 0 100%);
z-index: -2;
}
.coffee {
position: absolute;
width: 136px;
height: 66px;
background-color: #584036;
border-radius: 50% / 33px;
left: 7px;
bottom: 10px;
z-index: -3;
transition: height 0.5s ease;
}
.handle {
position: absolute;
width: 50px;
height: 100px;
border: 10px solid #f2e3d8;
border-radius: 50%;
top: 30px;
right: -40px;
z-index: -4;
}
button {
margin-top: 30px;
padding: 10px 20px;
background-color: #584036;
border: none;
cursor: pointer;
font-size: 16px;
color: #f2e3d8;
}