diff options
author | metamuffin <metamuffin@disroot.org> | 2023-10-07 20:52:28 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-10-07 20:52:28 +0200 |
commit | 012a4ded84613d0cf0409c124a69146170e3d500 (patch) | |
tree | 978da477c19efd0fbe3207a6bae1d1d5c9633a04 | |
parent | 289b3ecbdd21efe6867030285bf45b1e592d7c3c (diff) | |
download | jellything-012a4ded84613d0cf0409c124a69146170e3d500.tar jellything-012a4ded84613d0cf0409c124a69146170e3d500.tar.bz2 jellything-012a4ded84613d0cf0409c124a69146170e3d500.tar.zst |
css: maybe delay transition
-rw-r--r-- | web/nodecard.css | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/web/nodecard.css b/web/nodecard.css index 078f53e..fb1a9ff 100644 --- a/web/nodecard.css +++ b/web/nodecard.css @@ -40,7 +40,10 @@ .node.card .poster, .node.card .poster img { height: var(--card-size); - transition: height 0.2s; + transition-property: height; + transition-duration: 0.2s; + transition-timing-function: ease; + /* transition-delay: 0.2s; */ } .node.card:hover .poster img { height: calc(var(--card-size) + 10em); @@ -69,7 +72,10 @@ } .node.card .inner { - transition: margin 0.2s, padding 0.2s; + transition-property: margin, padding; + transition-duration: 0.2s, 0.2s; + transition-timing-function: ease, ease; + /* transition-delay: 0.2s, 0.2s; */ } .node.card:hover .inner { background-color: rgba(0, 0, 0, 0.76); |