https://i.sstatic.net/yILwL.png
I am wondering if there is a way to create a CSS3 background similar to the one shown in the image link above. The gradient should smoothly transition from white to black, spanning across a header div, and remain consistent regardless of screen width (always white on the left side and black on the right side).
The reason for not using an image is due to longer loading times and difficulty resizing the width when the browser is smaller than 1920px (the width of the image).
I have attempted to use linear-gradient but have had no success...Any suggestions or guidance would be greatly appreciated.
Regards, Jens