Re:A 14kb page can load much faster than a 15kb page
by issung on Wednesday August 24, 2022 @11:03PM
(#32588945)
What CSS does the author use to achieve that "sketchy" effect on the orange headings?
[ Parent
| on HN ]
Re:A 14kb page can load much faster than a 15kb page
by stcont on Wednesday August 24, 2022 @11:30PM
(#32589139)
Itβs a filter derived from the first SVG element on the page.
Check out the page in the web inspector! Simple websites have the bonus of being easy to poke at.
Re:A 14kb page can load much faster than a 15kb page
by csande17 on Wednesday August 24, 2022 @11:29PM
(#32589128)
Looks like it's an SVG filter using <feTurbulence> and <feDisplacementMap>, similar to the example on https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feT...