diff options
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/src/components/game/Hand.css | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/frontend/src/components/game/Hand.css b/frontend/src/components/game/Hand.css index fb6ccd55..01c17763 100644 --- a/frontend/src/components/game/Hand.css +++ b/frontend/src/components/game/Hand.css @@ -1,5 +1,15 @@ .hand { + align-items: center; + bottom: -14rem; display: flex; + height: 345px; /* can hold enhanced cards */ + left: 50%; + position: absolute; + transform: translateX(-50%); + transition: 0.5s +} +.hand:hover { + bottom: 1rem; } .hand-card { @@ -14,6 +24,7 @@ grid-row: 1; grid-column: 1; opacity: 1; + transition: 0.1s; width: 11rem; } .hand-card.unplayable .hand-card-img { |