home.social

#blendmode — Public Fediverse posts

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

  1. If you're a Cheetah+ supporter on Ko-fi or Patreon, then first of all thank you 🙏 and second, I've just published something detailing how to easily get halftone-masked images with blend modes and filters.

    ❇️ ko-fi.com/post/Halftone-maskin

    ❇️ patreon.com/posts/halftone-mas

    #CSS #filter #SVG #blendMode #cssFilter #svgFilter #halftone #coding #frontend #web #dev #webDev #webDevelopment #code #cssGradient

  2. If you're a Cheetah+ supporter on Ko-fi or Patreon, then first of all thank you 🙏 and second, I've just published something detailing how to easily get halftone-masked images with blend modes and filters.

    ❇️ ko-fi.com/post/Halftone-maskin

    ❇️ patreon.com/posts/halftone-mas

    #CSS #filter #SVG #blendMode #cssFilter #svgFilter #halftone #coding #frontend #web #dev #webDev #webDevelopment #code #cssGradient

  3. If you're a Cheetah+ supporter on Ko-fi or Patreon, then first of all thank you 🙏 and second, I've just published something detailing how to easily get halftone-masked images with blend modes and filters.

    ❇️ ko-fi.com/post/Halftone-maskin

    ❇️ patreon.com/posts/halftone-mas

    #CSS #filter #SVG #blendMode #cssFilter #svgFilter #halftone #coding #frontend #web #dev #webDev #webDevelopment #code #cssGradient

  4. If you're a Cheetah+ supporter on Ko-fi or Patreon, then first of all thank you 🙏 and second, I've just published something detailing how to easily get halftone-masked images with blend modes and filters.

    ❇️ ko-fi.com/post/Halftone-maskin

    ❇️ patreon.com/posts/halftone-mas

    #CSS #filter #SVG #blendMode #cssFilter #svgFilter #halftone #coding #frontend #web #dev #webDev #webDevelopment #code #cssGradient

  5. If you're a Cheetah+ supporter on Ko-fi or Patreon, then first of all thank you 🙏 and second, I've just published something detailing how to easily get halftone-masked images with blend modes and filters.

    ❇️ ko-fi.com/post/Halftone-maskin

    ❇️ patreon.com/posts/halftone-mas

    #CSS #filter #SVG #blendMode #cssFilter #svgFilter #halftone #coding #frontend #web #dev #webDev #webDevelopment #code #cssGradient

  6. Single element, minimal #CSS (20 declarations and only that many to even out browser inconsistencies), minimal #JS (just updates a custom property value), comparison slider (original image vs. desaturated one) on @codepen codepen.io/thebabydino/pen/MWM

    #code #coding #frontend #blending
    #web #dev #webDev #webDevelopment
    #blendMode

  7. Single element, minimal #CSS (20 declarations and only that many to even out browser inconsistencies), minimal #JS (just updates a custom property value), comparison slider (original image vs. desaturated one) on @codepen codepen.io/thebabydino/pen/MWM

    #code #coding #frontend #blending
    #web #dev #webDev #webDevelopment
    #blendMode

  8. Single element, minimal #CSS (20 declarations and only that many to even out browser inconsistencies), minimal #JS (just updates a custom property value), comparison slider (original image vs. desaturated one) on @codepen codepen.io/thebabydino/pen/MWM

    #code #coding #frontend #blending
    #web #dev #webDev #webDevelopment
    #blendMode

  9. Single element, minimal #CSS (20 declarations and only that many to even out browser inconsistencies), minimal #JS (just updates a custom property value), comparison slider (original image vs. desaturated one) on @codepen codepen.io/thebabydino/pen/MWM

    #code #coding #frontend #blending
    #web #dev #webDev #webDevelopment
    #blendMode

  10. Single element, minimal #CSS (20 declarations and only that many to even out browser inconsistencies), minimal #JS (just updates a custom property value), comparison slider (original image vs. desaturated one) on @codepen codepen.io/thebabydino/pen/MWM

    #code #coding #frontend #blending
    #web #dev #webDev #webDevelopment
    #blendMode

  11. Because this @codepen demo just got hearted and I've never shared it here before codepen.io/thebabydino/pen/Vwm

    The concept behind the XOR is something I explained in this
    @csstricks article css-tricks.com/taming-blend-mo

    (should probably redo it with view transitions)

    #CSS #blending #blendMode #coding #web #dev #webDev #webDevelopment #code #frontend

  12. Because this @codepen demo just got hearted and I've never shared it here before codepen.io/thebabydino/pen/Vwm

    The concept behind the XOR is something I explained in this
    @csstricks article css-tricks.com/taming-blend-mo

    (should probably redo it with view transitions)

    #CSS #blending #blendMode #coding #web #dev #webDev #webDevelopment #code #frontend

  13. Because this @codepen demo just got hearted and I've never shared it here before codepen.io/thebabydino/pen/Vwm

    The concept behind the XOR is something I explained in this
    @csstricks article css-tricks.com/taming-blend-mo

    (should probably redo it with view transitions)

    #CSS #blending #blendMode #coding #web #dev #webDev #webDevelopment #code #frontend

  14. Because this @codepen demo just got hearted and I've never shared it here before codepen.io/thebabydino/pen/Vwm

    The concept behind the XOR is something I explained in this
    @csstricks article css-tricks.com/taming-blend-mo

    (should probably redo it with view transitions)

    #CSS #blending #blendMode #coding #web #dev #webDev #webDevelopment #code #frontend

  15. Because this @codepen demo just got hearted and I've never shared it here before codepen.io/thebabydino/pen/Vwm

    The concept behind the XOR is something I explained in this
    @csstricks article css-tricks.com/taming-blend-mo

    (should probably redo it with view transitions)

    #CSS #blending #blendMode #coding #web #dev #webDev #webDevelopment #code #frontend

  16. And here are cards with gradual left to right inversion: from no inversion at all on the left, to full inversion on the right. Again, minimal code, single div, no pseudos necessary, 2 #CSS declarations.

    Live demos on @codepen

    ✳️ codepen.io/thebabydino/pen/mdO

    ✳️ codepen.io/thebabydino/pen/dyO

    #blending #blendMode #cssGradient #code #web #webDev #webDevelopment #dev #coding #frontend

  17. And here are cards with gradual left to right inversion: from no inversion at all on the left, to full inversion on the right. Again, minimal code, single div, no pseudos necessary, 2 #CSS declarations.

    Live demos on @codepen

    ✳️ codepen.io/thebabydino/pen/mdO

    ✳️ codepen.io/thebabydino/pen/dyO

    #blending #blendMode #cssGradient #code #web #webDev #webDevelopment #dev #coding #frontend

  18. And here are cards with gradual left to right inversion: from no inversion at all on the left, to full inversion on the right. Again, minimal code, single div, no pseudos necessary, 2 #CSS declarations.

    Live demos on @codepen

    ✳️ codepen.io/thebabydino/pen/mdO

    ✳️ codepen.io/thebabydino/pen/dyO

    #blending #blendMode #cssGradient #code #web #webDev #webDevelopment #dev #coding #frontend

  19. Here's another set of cards with varying patterns, all created with the exact same 4 blended CSS gradients, it's just the stops list `--c` that changes for each card.

    So basically, it's again just one `background` + one `background-blend-mode` property.

    Live demo on @codepen
    codepen.io/thebabydino/pen/vYy

    #CSS #blending #blendMode #pattern #cssGradient #coding #frontend #code #web #dev #webDev #webDevelopment #cssPattern #cssPatterns #patterns

  20. Here's another set of cards with varying patterns, all created with the exact same 4 blended CSS gradients, it's just the stops list `--c` that changes for each card.

    So basically, it's again just one `background` + one `background-blend-mode` property.

    Live demo on @codepen
    codepen.io/thebabydino/pen/vYy

    #CSS #blending #blendMode #pattern #cssGradient #coding #frontend #code #web #dev #webDev #webDevelopment #cssPattern #cssPatterns #patterns

  21. Here's another set of cards with varying patterns, all created with the exact same 4 blended CSS gradients, it's just the stops list `--c` that changes for each card.

    So basically, it's again just one `background` + one `background-blend-mode` property.

    Live demo on @codepen
    codepen.io/thebabydino/pen/vYy

    #CSS #blending #blendMode #pattern #cssGradient #coding #frontend #code #web #dev #webDev #webDevelopment #cssPattern #cssPatterns #patterns

  22. Here's another set of cards with varying patterns, all created with the exact same 4 blended CSS gradients, it's just the stops list `--c` that changes for each card.

    So basically, it's again just one `background` + one `background-blend-mode` property.

    Live demo on @codepen
    codepen.io/thebabydino/pen/vYy

    #CSS #blending #blendMode #pattern #cssGradient #coding #frontend #code #web #dev #webDev #webDevelopment #cssPattern #cssPatterns #patterns

  23. Here's another set of cards with varying patterns, all created with the exact same 4 blended CSS gradients, it's just the stops list `--c` that changes for each card.

    So basically, it's again just one `background` + one `background-blend-mode` property.

    Live demo on @codepen
    codepen.io/thebabydino/pen/vYy

    #CSS #blending #blendMode #pattern #cssGradient #coding #frontend #code #web #dev #webDev #webDevelopment #cssPattern #cssPatterns #patterns

  24. And here's a cards demo with a cool, yet very simple trick: these left to right gradients are vibrant at the top, but then progressively get more and more desaturated going down, until fully grey.

    Live on @codepen codepen.io/thebabydino/pen/xxz - only 2 CSS declarations necessary!

    #CSS #tinyCSStip #blending #blendMode #cssGradient #code #coding #frontend #web #dev #webDev #webDevelopment

  25. By the way, the code is heavily commented codepen.io/thebabydino/pen/MYW

    So you can see how it works without JS, without wrapping individual elements into spans, just letting it wrap naturally. And without covers that wouldn't allow for an image backdrop behind the text.

    #CSS #SVG #filter #svgFilter #blendMode #blending #code #coding #frontend #web #dev #webDevelopment #webDev

  26. If we have an inline `span` inside a `p` & we give it a semi-transparent `background` + a `padding`, we get an alpha increase where backgrounds of adjacent lines overlap.

    How would you solve this problem without text duplication, without stacking 2 identical `p` elements, one for background (opaque background + transparent text + opacity) and one for text (transparent background)?

    #CSS #SVG #filter #svgFilter #code #web #dev #webDev #webDevelopment #coding #frontend #blendMode #blending

  27. Hi, mastodon 🦣 I have a new article out!

    A Deep Dive into the Inline Background Overlap Problem: frontendmasters.com/blog/overl

    How do you get the below result (semi-transparent background on inline span) with large padding & no overlap?

    Answer in article, but think a bit about it first. 😼

    #CSS #SVG #filter #svgFilter #code #web #dev #webDev #webDevelopment #coding #frontend #blendMode #blending

  28. Pure #CSS 1 div halftone-masked background card codepen.io/thebabydino/pen/GRN on @codepen.

    Made this 4 years ago - can you guess how before checking the code?

    Doesn't work in Firefox due to an old bug 🪲 bugzilla.mozilla.org/show_bug. not even related to the halftone mask, but caused by the duo text on the right.

    #filter #code #coding #frontend #cssfFilter #web #dev #webDev #webDevelopment #blendMode #blending

  29. By the way, this is my second article for Frontend Masters.

    My first was a few months ago and it was about creating dynamic split effects (image, text, page) without any content duplication whatsoever frontendmasters.com/blog/split

    #CSS #SVG #filter #blending #code #web #webDev #frontend #coding #dev #webDevelopment #blendMode #svgFilter #cssGradient