WBE_Praktikum_8/game-dom/css/game.css

25 lines
592 B
CSS
Raw Normal View History

2022-11-17 09:58:26 +01:00
.background { background: rgb(52, 166, 251);
table-layout: fixed;
border-spacing: 0; }
.background td { padding: 0; }
.lava { background: rgb(255, 100, 100); }
.wall { background: white; }
.actor { position: absolute; }
.coin { background: rgb(241, 229, 89); }
.player { background: rgb(64, 64, 64); }
.game {
overflow: hidden;
max-width: 600px;
max-height: 450px;
position: relative;
}
.lost .player {
background: rgb(160, 64, 64);
}
.won .player {
box-shadow: -4px -7px 8px white, 4px -7px 8px white;
}