diff options
| author | Fuwn <[email protected]> | 2026-05-08 07:51:25 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-05-08 07:51:25 +0000 |
| commit | 3f107aacc026afceaede28851f530006d5da1c72 (patch) | |
| tree | 33dbc50cfc69eece322cc2e51008e1e777d5105d /src/routes | |
| parent | style(anchor): narrow global anchor transition to color/opacity (diff) | |
| download | due.moe-3f107aacc026afceaede28851f530006d5da1c72.tar.xz due.moe-3f107aacc026afceaede28851f530006d5da1c72.zip | |
style(header): soften hide/show curve with ease-out-quart
Replace transform 0.3s ease with 0.4s cubic-bezier(0.22, 1, 0.36, 1) so the header settles instead of snapping, pairing with Lenis-smoothed scroll.
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/+layout.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index b09e771a..a6407ff5 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -352,7 +352,7 @@ $: { z-index: 4; position: sticky; top: 1.25rem; - transition: transform 0.3s ease; + transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); } .header-hidden { |