I have experimented with 4 different colors to achieve a unique CSS gradient effect. The code I used looks like this:
background: linear-gradient(to right, #ffffff 0%,#ffffff 72%,#929292 72%,#929292 100%);
Currently, I am working with Bootstrap. My dilemma lies in figuring out how to integrate this complex gradient into my LESS file.
If the gradient consists of only 2 or 3 colors, I can easily utilize Bootstrap mixin functions as shown below:
#gradient.vertical(#ffffff; #f9f9f9 );
#gradient.vertical-three-colors(#ffffff; #f9f9f9; 72%; #e7eaef);
However, once the gradient consists of more than 3 colors, I am unsure of the approach to take.
I am hopeful that someone will be able to provide guidance on this matter.
Thank you for your assistance.