Przerobienie nieco na grid css. Pozwolenie na dodawanie żetonów o wartości zero i zbieranie bonusów za nie jesli te istnieją.

This commit is contained in:
kplaczek
2017-08-13 22:48:29 +02:00
parent 1410407272
commit 9bbcc73b33
4 changed files with 92 additions and 32 deletions

21
css/grid-template.css Normal file
View File

@@ -0,0 +1,21 @@
.container {
display: grid;
grid-template-areas:
"player1container acceptcontainer player2container"
"leather leather leather"
"fabric fabric fabric"
"spice spice spice"
"silver silver silver"
"gold gold gold"
"diamond diamond diamond";
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(8, 1fr);
}
.group.leather { grid-area: leather; }
.group.fabric { grid-area: fabric; }
.group.spice { grid-area: spice; }
.group.silver { grid-area: silver; }
.group.gold { grid-area: gold; }
.group.diamond { grid-area: diamond; }