Skip to content

Commit 8cda2d5

Browse files
committed
Slot machine updated with text
1 parent 7713e46 commit 8cda2d5

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

css/slotmachine.css

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#slotmachine {
22
width: 100px;
33
height: 100px;
4-
padding: 0px 0px 0px;
4+
padding: 0;
55
margin: 0 auto;
66
border: px solid rgba(0, 13, 29, 0.9);
77
border-radius: 10px;
@@ -11,16 +11,16 @@
1111
overflow: hidden;
1212
position: relative;
1313
display: inline-block;
14-
box-shadow: 0px 0px 60px 0px rgba(0,0,0, 0.4);
14+
box-shadow: 0px 0px 30px 0px rgba(0,0,0, 0.4) inset;
1515
}
1616

17-
span {
17+
#slotmachine span {
1818
position: absolute;
1919
top: -200px;
2020
left: -393px;
2121
height: 500px;
2222
width: 500px;
23-
background: url('../pics/powerups.png') no-repeat;
23+
background: url('../img/powerups.png') no-repeat;
2424
}
2525

2626
#slotmachine-container {
@@ -36,7 +36,7 @@ span {
3636
-webkit-transform:rotate(0deg);
3737
-moz-transform: rotate(0deg);
3838
transform: rotate(0deg);
39-
39+
4040
}
4141
.rapidfire {
4242
-webkit-transform:rotate(90deg);
@@ -47,7 +47,7 @@ span {
4747
.shield {
4848
-webkit-transform:rotate(180deg);
4949
-moz-transform:rotate(180deg);
50-
transform:rotate(180deg);
50+
transform:rotate(180deg);
5151
}
5252

5353
.health {
@@ -63,11 +63,11 @@ span {
6363
}
6464

6565
@-webkit-keyframes rotate {
66-
from { -webkit-transform:rotate(0deg) }
66+
from { -webkit-transform:rotate(0deg) }
6767
to { -webkit-transform:rotate(360deg) }
6868
}
6969

7070
@-moz-keyframes rotate {
71-
from { -moz-transform:rotate(0deg) }
71+
from { -moz-transform:rotate(0deg) }
7272
to { -moz-transform:rotate(360deg) }
73-
}
73+
}

img/powerups.png

43.4 KB
Loading

0 commit comments

Comments
 (0)