Assuming my linear CSS gradient looks like this:
background: linear-gradient(to right, red 0%, green 20%, blue 40%, purple 60%, yellow 80%, black 100%)
It will generate a CSS gradient that looks like this:

How to make the same gradient, but with solid colors without switching between colors? (using CSS)
thank
source
share