-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
84 lines (78 loc) · 1.33 KB
/
style.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
83
84
body{
background-image: url('./bg.jpg');
background-size: cover;
}
h1{
color: white
}
.container {
width: 450px;
margin: 0 auto;
}
.wrapperOuter{
display: flex;
flex-wrap: wrap;
flex-direction: row;
align-items: center;
justify-content: center;
}
.wrapper {
/*border: 1px dashed blue;*/
width: 420px;
margin: 0 auto;
display: flex;
flex-flow: row wrap;
/*height: 500px;*/
position: relative;
float: left;
}
.box, .myBox {
border: 1px solid black;
width: 50px;
height: 50px;
transition: all .2s ease-in;
opacity: 1;
display: flex;
flex-flow: row wrap;
}
.shortImg{
position: absolute;
z-index: 1;
width: 9%;
}
.fire-tiny{
position: absolute;
z-index: 2;
width: 10%;
}
.fire-tiny2{
position: absolute;
z-index: 2;
width: 10%;
top: 50px;
}
.hit{
font-family: fantasy;
color: red;
display: flex;
align-items: center;
justify-content: center;
background-image: url('./battle-img/fire-tiny.png');
background-position: center;
background-size: cover;
}
.miss{
font-family: fantasy;
font-weight:bolder;
color: white;
display: flex;
align-items: center;
justify-content: center;
}
/*.player1{
background-image: url(../images/grumpycat-m.png);
background-repeat: no-repeat;
background-position: center;
background-size: 100%;
opacity: 1
}*/