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?
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 (https://www.freecodecamp.org/learn/responsive-web-design/applied-visual-design/use-a-css-linear-gradient-to-create-a-striped-element) shows how to use linear-gradient with no blending effect.