home.social

#hueinterpolation — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #hueinterpolation, aggregated by home.social.

  1. Because someone just hearted a 5 year old @codepen demo codepen.io/thebabydino/pen/GRo I made using a #Sass function + looping to generate a #CSS 🌈: we don't need *any* Sass for this anymore! 🎉

    We can now do it with

    background:
    linear-gradient(in hsl longer hue 90deg,
    hsl(0, 95%, 65%) 0 0)

    #SCSS #loop #looping #newCSS #rainbow #cssGradient #coding #code #frontend #web #dev #webDev #webDevelopment #hueInterpolation

  2. Coding a pure #CSS 🌈 spinner...

    The 4th version* of a thing I first made over a decade ago codepen.io/thebabydino/pen/poG - now with less code than ever!

    *Limited to browsers that support animating CSS custom properties and hue interpolation methods. As of Oct '23, that's no Firefox.

    The Pen description contains a list of changes over the years... the history of how CSS got better, I guess.

    #CodePen #cssVariables #hueInterpolation #coding #frontend #webDev #webDevelopment #cssSpinner