dasdwadad
This commit is contained in:
parent
f211a272c9
commit
40e54fae40
@ -1,5 +1,5 @@
|
||||
*{
|
||||
color: white;
|
||||
color: black;
|
||||
font-size: 30px;
|
||||
}
|
||||
#spielRaum{
|
||||
@ -30,3 +30,31 @@ body{
|
||||
#enemy{
|
||||
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;
|
||||
}
|
||||
|
@ -11,9 +11,9 @@
|
||||
<div id="spielRaum">
|
||||
<div id="rechnungen" class="flexbox">
|
||||
|
||||
<div id="rechnung1">mal-5</div>
|
||||
<div class="mittelabstand"></div>
|
||||
<div id="rechnung2">mal-2</div>
|
||||
<div id="rechnung1"><img src="pics/RechenBlockRot.png" alt="">*5</div>
|
||||
|
||||
<div id="rechnung2"><img src="pics/RechenBlockBlau.png" alt="">+5</div>
|
||||
|
||||
</div>
|
||||
<div id="tom">
|
||||
|
BIN
pics/RechenBlockBlau.png
Normal file
BIN
pics/RechenBlockBlau.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 753 B |
BIN
pics/RechenBlockRot.png
Normal file
BIN
pics/RechenBlockRot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 660 B |
Loading…
Reference in New Issue
Block a user