peteboere/css-crush — Issue #13: rgba(#, #, #, 0) => transparent not always a good idea
Author: lencioni
Created: 2011-10-27 19:58:47+00:00
State: open

In my CSS I had the following rule:

background-image: linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .8) 50%, rgba(255, 255, 255, 0) 100%);

which was crushed to be:

background-image:linear-gradient(top,transparent 0%,rgba(255,255,255,.8) 50%,transparent 100%);

Unfortunately, this crushed gradient renders completely differently.