I wrote a new article for Frontend Masters: Step Gradients with a Given Number of Steps!

Consider this problem: you are given 2 hex codes + a number of steps. How would you code a step gradient? Think about it, then see my solution frontendmasters.com/blog/step-

Hope you enjoy, a lot of work went into it.

screenshot for one of the demos in the article
0

If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/anatudor/statuses/114773637603050868 on your instance and quote it. (Note that quoting is not supported in Mastodon.)