How to do a linear gradient which fades to transparent, not white, in CSS?
I have this as a gradient currently: background: linear-gradient( to right, rgba(var(--white-rgb), 1) 0%, rgba(var(--white-rgb), 0) 100% ); With this, on the left side it fades to pure white, and on the right it fades to transparent. If you have…