cutechicken commited on
Commit
f20cef9
ยท
verified ยท
1 Parent(s): 1d189cf

Update index.html

Browse files
Files changed (1) hide show
  1. 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');