So what else could we do? Use an SVG filter!✨
Set the #CSS gradient as one with two end stops and no steps and apply a super simple #SVG #filter (same idea as here https://mastodon.social/@anatudor/114703583973454917 ) that makes it stepped.
Works for all gradient types - see this @codepen demo https://codepen.io/thebabydino/pen/raVrZQN 😼
#cssGradient #code #coding #frontend #web #dev #webDevelopment #webDev #svgFilter #cssVariables