-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
43 lines (43 loc) · 777 Bytes
/
style.css
File metadata and controls
43 lines (43 loc) · 777 Bytes
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
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
html, body{
margin: 0;
padding: 0;
overflow: hidden;
background: #4165d1;
width: 100%;
height: 100vh;
color: #fff;
font-family: 'Roboto';
}
body{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
cursor: pointer;
}
h1{
font-weight: normal;
font-size: 5vmin;
}
svg{
width: 40vmin;
}
#honks{
opacity: 0;
}
#honks.honk{
opacity: 1;
}
#bottombeak > path, #topbeak > path{
transform: rotate(0deg);
}
#bottombeak.honk > path{
transform: rotate(20deg);
transform-origin: 308px 139px;
fill: #d37231;
}
#topbeak.honk > path{
transform: rotate(-20deg);
transform-origin: 299px 120px
}