diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-10-26 00:24:38 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-10-26 00:24:38 +0200 |
commit | f71d3ff7dd4e6b4536049fe034e934182cb36cf4 (patch) | |
tree | ac587ce68236658f2a855fc15f1ec52534d68302 /play.css | |
parent | 3e30593e9986187aff35a4440bdbcb309025c58c (diff) | |
download | 1989-dawn-of-freedom-f71d3ff7dd4e6b4536049fe034e934182cb36cf4.tar.gz |
Animate transitions. Card background color while image is loading.
Diffstat (limited to 'play.css')
-rw-r--r-- | play.css | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -123,9 +123,10 @@ body.Communist header.your_turn { background-color: hsl(355, 70%, 75%); } height: 45px; border: 2px solid; border-color: #eee #bbb #bbb #eee; - /* TODO: per marker border color */ box-shadow: 0 0 0 1px #444; - //border-radius: 8px; + transition-property: top, left; + transition-duration: 700ms; + transition-timing-function: ease; } .demInfl { background-color: #fff; } @@ -249,6 +250,7 @@ body.Communist header.your_turn { background-color: hsl(355, 70%, 75%); } .card { background-size: cover; background-repeat: no-repeat; + background-color: #fffde9; width: 250px; height: 350px; border-radius: 16px; |