Is there something like the linear gradient function, but it changes colour without blending?

I want a background for a div that changes colour immediately where defined, rather than blending from one colour to the next.

Is there any good way of doing this?

This lesson in the Legacy Responsive Web Design course ( shows how to use linear-gradient with no blending effect.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.