From: Ardis Lu Date: Fri, 11 Sep 2026 04:37:39 +0000 (-0700) Subject: Add transition effect to `` when URL is changed X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;p=minimal-srihash Add transition effect to `` when URL is changed This transition makes it clearer when the output has been updated. --- diff --git a/index.html b/index.html index b644368..fc7522c 100644 --- a/index.html +++ b/index.html @@ -118,6 +118,11 @@ background: hsl(216deg 80% 98%); border-radius: 4px; display: none; + transition: opacity 300ms; + + @starting-style { + opacity: 0; + } } output:has(:not(code:empty)) { @@ -185,6 +190,7 @@