-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathflappy_style.css
More file actions
66 lines (58 loc) · 1.16 KB
/
flappy_style.css
File metadata and controls
66 lines (58 loc) · 1.16 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
* {
box-sizing: border-box;
}
.conteudo {
align-items: center;
text-align: center;
background-color: darkslateblue;
}
.jogo {
position: relative;
border: 5px solid dodgerblue;
height: 700px;
width: 1200px;
margin: auto;
margin-top: 30px;
background-color: deepskyblue;
overflow: hidden;
}
.passaro {
position: absolute;
width: 60px;
left: calc(50% - 30px);
}
.par_de_barreiras {
position: absolute;
top: 0;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.barreira {
display: flex;
flex-direction: column;
align-items: center;
}
.barreira .borda {
height: 30px;
width: 130px;
background: linear-gradient(90deg, #639301, #a5e82e);
border: 2px solid black;
}
.barreira .corpo {
height: 150px;
width: 110px;
background: linear-gradient(90deg, #639301, #a5e82e);
border-left: 2px solid black;
border-right: 2px solid black;
}
.progresso {
position: absolute;
top: 10px;
right: 10px;
font-size: 70px;
z-index: 50;
font-family: 'Wonder Boy In Monster World', sans-serif;
color: white;
}