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');