Hacker News new | ask | show | jobs
by Silhouette 3369 days ago
Here's the same author's earlier post on this subject, "The missed chances: What minifiers leave behind", from last week:

https://luisant.ca/css-opts-survey

1 comments

Anybody know if the transparency one is actually a desirable optimization? Iirc, you might want to assign a color to your transparency so it's not shifting hue as you fade it in through CSS transitions, animations, or JS.
Author of crass here. That's interesting: if you have a specific case where the browser doesn't do what you'd expect, I'd love to see it in a Github issue!

https://github.com/mattbasta/crass/issues/new

I was thinking of the fact that transparent is supposedly an alias for rgba(0,0,0,0), but this doesn't seem to cause an issue when I try it out, in Firefox at least.