Re:Show HN: CSS generator for a high-def glass effect
by armchairhacker on Wednesday July 02, 2025 @03:29PM
(#44447846)
Small issue: the shadow between the top and the scrollable area with the toggles and code fades out when you scroll down (presumably it should be initially hidden and fade in).
[ Parent
| on HN ]
Re:Show HN: CSS generator for a high-def glass effect
by kris-kay on Wednesday July 02, 2025 @03:42PM
(#44447972)
Good catch! It's not a fading-in issue; the shadow is just scrolling out of view. I designed those "overhang" box-shadows to be applied to the inside of an element rather than cast down from one. I see now that I need to apply the latter kind in this case. Thanks for letting me know!