dasdwadad

This commit is contained in:
pbg2h23akl 2024-07-04 11:15:55 +02:00
parent f211a272c9
commit 40e54fae40
4 changed files with 33 additions and 5 deletions

View File

@ -1,5 +1,5 @@
*{ *{
color: white; color: black;
font-size: 30px; font-size: 30px;
} }
#spielRaum{ #spielRaum{
@ -29,4 +29,32 @@ body{
} }
#enemy{ #enemy{
position: fixed; position: fixed;
} }
.flexbox{
display: flex;
flex-direction: row;
}
#rechnungen{
padding: 25px;
justify-content: space-between;
}
#rechnung1, #rechnung2 {
width: 20%;
margin: 0 10px;
padding: 20px;
text-align: center;
font-size: 1.5em;
z-index: 10;
position: relative;
display: inline-block;
}
#rechnung1 img, #rechnung2 img {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: -1;
width: 100%;
height: 100%;
object-fit: cover;
}

View File

@ -11,9 +11,9 @@
<div id="spielRaum"> <div id="spielRaum">
<div id="rechnungen" class="flexbox"> <div id="rechnungen" class="flexbox">
<div id="rechnung1">mal-5</div> <div id="rechnung1"><img src="pics/RechenBlockRot.png" alt="">*5</div>
<div class="mittelabstand"></div>
<div id="rechnung2">mal-2</div> <div id="rechnung2"><img src="pics/RechenBlockBlau.png" alt="">+5</div>
</div> </div>
<div id="tom"> <div id="tom">

BIN
pics/RechenBlockBlau.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 753 B

BIN
pics/RechenBlockRot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 660 B