Spaces:
Running
Running
Update index.html
Browse files- index.html +14 -0
index.html
CHANGED
@@ -59,6 +59,19 @@
|
|
59 |
z-index: 1000;
|
60 |
display: none;
|
61 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
#nextRound {
|
63 |
top: 80%; /* μλμͺ½μΌλ‘ μ΄λ */
|
64 |
}
|
@@ -101,6 +114,7 @@
|
|
101 |
</div>
|
102 |
<button id="bossButton" class="button">Fight Boss!</button>
|
103 |
<div id="winMessage" class="button" style="font-size: 72px; background: none;">You Win!</div>
|
|
|
104 |
|
105 |
<script>
|
106 |
const canvas = document.getElementById('gameCanvas');
|
|
|
59 |
z-index: 1000;
|
60 |
display: none;
|
61 |
}
|
62 |
+
#winMessage {
|
63 |
+
font-size: 72px;
|
64 |
+
background: none;
|
65 |
+
top: 30%; /* νλ©΄μ μμͺ½μΌλ‘ μ΄λ */
|
66 |
+
left: 50%;
|
67 |
+
transform: translate(-50%, -50%);
|
68 |
+
z-index: 1001; /* λ€μ λΌμ΄λ λ²νΌλ³΄λ€ μλ‘ μ€μ */
|
69 |
+
}
|
70 |
+
|
71 |
+
#nextRound {
|
72 |
+
top: 80%; /* νλ©΄μ μλμͺ½μΌλ‘ μ΄λ */
|
73 |
+
z-index: 1000; /* "You Win"λ³΄λ€ μλλ‘ μ€μ */
|
74 |
+
}
|
75 |
#nextRound {
|
76 |
top: 80%; /* μλμͺ½μΌλ‘ μ΄λ */
|
77 |
}
|
|
|
114 |
</div>
|
115 |
<button id="bossButton" class="button">Fight Boss!</button>
|
116 |
<div id="winMessage" class="button" style="font-size: 72px; background: none;">You Win!</div>
|
117 |
+
|
118 |
|
119 |
<script>
|
120 |
const canvas = document.getElementById('gameCanvas');
|