News for hackers. Stuff that matters.
Re:Show HN: Plaiceholder, transform images into pure CSS blu... by contingencies on Wednesday November 25, 2020 @02:16PM (#25213076)
These must be bigger than the originals in some huge percentage of cases...
Re:Show HN: Plaiceholder, transform images into pure CSS blu... by purplecats on Thursday November 26, 2020 @12:56AM (#25217277)
yeah that current implementation is wildly poor. i imagine if they really wanted to, they could come up with an optimization and quality threshold that should alleviate this concern.
Re:Show HN: Plaiceholder, transform images into pure CSS blu... by joe-bell on Tuesday December 01, 2020 @11:40AM (#25266776)
Hey, creator here! Could you expand on what you think is "wildly poor" about this implementation? Would appreciate any feedback on where to improve
Re:Show HN: Plaiceholder, transform images into pure CSS blu... by smashthepants on Wednesday November 25, 2020 @08:35PM (#25216102)
I don't understand what it's for.
Re:Show HN: Plaiceholder, transform images into pure CSS blu... by purplecats on Thursday November 26, 2020 @12:54AM (#25217273)
to show placeholders for an image when the internet is too slow to load the image itself fast enough. the implementation they use is extremely inefficient though so it's not much of a win unless the images they're downloading is very large. in most cases, depending on how they load their css, it will actually increase the amount of time it takes to load the images.
Re:Show HN: Plaiceholder, transform images into pure CSS blu... by joe-bell on Tuesday December 01, 2020 @02:17PM (#25268716)
"the implementation they use is extremely inefficient" in what manner?
Re:Show HN: Plaiceholder, transform images into pure CSS blu... by parisianka on Thursday November 26, 2020 @09:56AM (#25220512)
What about browser compatibility?
Re:Show HN: Plaiceholder, transform images into pure CSS blu... by joe-bell on Tuesday December 01, 2020 @11:41AM (#25266792)
linear-gradients are supported by the vast majority of modern browsers

See https://caniuse.com/?search=linear-gradient