Skip to content

176 web animation techniques, each a live demo with plain settings and a ready-made prompt for your AI assistant. No dependencies, no build step.

fix: Outline to Fill: See inside keeps the words on one line, so the window and faint copy cover a two-word text

matin0e3a72d1b818
diff --git a/animations/05-text-typography/outline-to-fill/index.html b/animations/05-text-typography/outline-to-fill/index.html
index f5b50ec7..453ba4b6 100644
--- a/animations/05-text-typography/outline-to-fill/index.html
+++ b/animations/05-text-typography/outline-to-fill/index.html
@@ -81,7 +81,7 @@
.stage[data-hb-mode="inside"] .wipe .var-label{margin-bottom:var(--m1,0px)}
.stage[data-hb-mode="inside"] .wipe{margin-bottom:var(--m2,0px)}
.stage[data-hb-mode="inside"] .fade{margin-bottom:var(--m3,0px)}
- .stage[data-hb-mode="inside"] .fill-layer{position:relative;inset:auto;margin-top:8px}
+ .stage[data-hb-mode="inside"] .fill-layer{position:relative;inset:auto;margin-top:8px}.stage[data-hb-mode="inside"] .otf-text{white-space:nowrap}
.stage[data-hb-mode="inside"] .otf-ghost,.stage[data-hb-mode="inside"] .otf-win{display:block;position:absolute;left:0;right:0;bottom:0;height:var(--otf-fs)}
.stage[data-hb-mode="inside"] .otf-ghost{z-index:0;opacity:.2;-webkit-text-stroke:var(--stroke-w) var(--stroke-color);color:var(--fill-color)}
.stage[data-hb-mode="inside"] .otf-win{z-index:3;pointer-events:none;outline:1.5px dashed rgba(244,244,242,.5);outline-offset:2px}