home.social

#cssfunction — Public Fediverse posts

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

fetched live
  1. Does anyone know what's the status of `random()` with Chrome/ Firefox?

    I can test it out using Epiphany Technology Preview on Linux, but I have no idea about when to expect to see it elsewhere or where I can find that info. It has no MDN page, no CanIUse page... can anyone help me out here?

    #CSS #random #cssFunction #coding #web #dev #webDevelopment #webDev #code #frontend

  2. Does anyone know what's the status of `random()` with Chrome/ Firefox?

    I can test it out using Epiphany Technology Preview on Linux, but I have no idea about when to expect to see it elsewhere or where I can find that info. It has no MDN page, no CanIUse page... can anyone help me out here?

    #CSS #random #cssFunction #coding #web #dev #webDevelopment #webDev #code #frontend

  3. I have a new article out on Frontend Masters: Non-Square Image Blur Extensions frontendmasters.com/blog/non-s

    It details the how behind creating the base effect with a single `img` element and only 4 #CSS declarations, then... well, check the article, I promise you'll learn something new!

    #cssGrid #cssLayout #cssFunction #filter #cssFilter #SVG #svgFilter #code #coding #web #dev #webDevelopment #webDev #frontend #containerQueries

  4. I have a new article out on Frontend Masters: Non-Square Image Blur Extensions frontendmasters.com/blog/non-s

    It details the how behind creating the base effect with a single `img` element and only 4 #CSS declarations, then... well, check the article, I promise you'll learn something new!

    #cssGrid #cssLayout #cssFunction #filter #cssFilter #SVG #svgFilter #code #coding #web #dev #webDevelopment #webDev #frontend #containerQueries

  5. #tinyCSStip (or gotcha) If you want to get the correct result when using smth like
    atan2(var(--y), var(--x))
    with --y and --x having different units...

    then you need to register --x and --y as length values!

    Or how I lost > 30min trying to figure out why my angle was 4° off...

    #maths #mathematics #cssMaths #trigonometry #gotcha #cssGotcha #code #coding #frontend #webDev #web #dev #webDevelopment #houdini #cssVariables #customProperties #cssFunction

  6. #tinyCSStip (or gotcha) If you want to get the correct result when using smth like
    atan2(var(--y), var(--x))
    with --y and --x having different units...

    then you need to register --x and --y as length values!

    Or how I lost > 30min trying to figure out why my angle was 4° off...

    #maths #mathematics #cssMaths #trigonometry #gotcha #cssGotcha #code #coding #frontend #webDev #web #dev #webDevelopment #houdini #cssVariables #customProperties #cssFunction