From c2cf8c62d263ce359dcfdb76172326cceb6c53ab Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sun, 17 Dec 2023 18:57:14 +0100 Subject: experiment with reserve position --- cards.css | 12 ++++ play.html | 244 +++++++++++++++++++++++++++++++------------------------------- 2 files changed, 136 insertions(+), 120 deletions(-) diff --git a/cards.css b/cards.css index 16dde96..b7506d3 100644 --- a/cards.css +++ b/cards.css @@ -21,6 +21,18 @@ user-select: none; } +.flip .card { + box-shadow: -1px -2px 8px #0008; +} + +.flip .card, .flip .card > div { + transform: rotate(180deg); +} + +.flip .card > div.link { + transform: none; +} + /* FORMATION CARD */ .name { diff --git a/play.html b/play.html index 323d4e2..d478f12 100644 --- a/play.html +++ b/play.html @@ -15,10 +15,36 @@ @@ -382,23 +386,23 @@ body.shift .number { display: block; }
+
-
+
 
-
-
-
+
 
+
-- cgit v1.2.3