Browser handling of CSS “transparent” in gradients
问题 Although the CSS colors rgba(255,255,255,0) and rgba(0,0,0,0) are apparently the same, i.e. transparent , when being looked at as plain colors, they affect the intermediate colors in gradients: linear-gradient(left center, rgba(0,0,0,0), rgba(255,255,255,1)) This yields grey semitransparent tones between the two ends. Now my questions: Do browsers select the “right” color for transparent automatically or is it a fixed color (most likely “black transparent” or “white transparent”)? Is this