Re:Show HN: CSS generator for a high-def glass effect
by alberth on Wednesday July 02, 2025 @04:12PM
(#44448283)
I'd have a hard time in a code review accepting the addition of ~44-lines of code for this glass effect vs just 1-line of code that has a similar (while slightly less realistic) net effect:
[ Parent
| on HN ]
Re:Show HN: CSS generator for a high-def glass effect
by andrewingram on Wednesday July 02, 2025 @04:23PM
(#44448402)
I’m curious why. I’d have concerns about the performance of this effect, but 44 lines of CSS to achieve a higher level of polish and, dare I say, craft, doesn’t seem like something to be dismissive of at review stage.
Re:Show HN: CSS generator for a high-def glass effect
by alberth on Wednesday July 02, 2025 @04:34PM
(#44448523)
The OP uses this same blur + a lot more effect (to make it look more realistic).
So it'd actually be the OP CSS that would perform worse than this single line.