restartbutton

This commit is contained in:
Jan Breitkreuz 2024-09-01 19:20:47 +02:00
parent 571e2108d1
commit 76b4fdb33c
2 changed files with 10 additions and 0 deletions

View File

@ -82,4 +82,12 @@ body{
#hitbox1, #hitbox2{ #hitbox1, #hitbox2{
width: 50px; width: 50px;
height: 10px; height: 10px;
}
#restartButton
{
width: 200px;
height: 100px;
position: fixed;
left: 45%;
display:none;
} }

View File

@ -33,6 +33,8 @@
<div id="enemyZahl">100</div> <div id="enemyZahl">100</div>
<img src="pics/enemy_1.png" alt="Gegner"> <img src="pics/enemy_1.png" alt="Gegner">
</div> </div>
<button id="restartButton">Neustart</button>