home.social

#webdevelpment — Public Fediverse posts

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

  1. Enter the #SVG #filter!

    `feComponentTransfer` allows us to manipulate individual RGBA channels. In this case just the alpha (via `feFuncA`) by making all assembly pixels whose alpha is below `.5` fully transparent (alpha = 0). And all other pixels fully opaque (alpha = 1).

    This makes edges jagged. 💀

    Maybe not so noticeable in some cases, but it often won't cut it.

    #CSS #cssFilter #svgFilter #cssBlur #code #webDev #web #dev #webDevelpment #coding #frontend #goo #gooey #blobs #metalball

  2. Enter the #SVG #filter!

    `feComponentTransfer` allows us to manipulate individual RGBA channels. In this case just the alpha (via `feFuncA`) by making all assembly pixels whose alpha is below `.5` fully transparent (alpha = 0). And all other pixels fully opaque (alpha = 1).

    This makes edges jagged. 💀

    Maybe not so noticeable in some cases, but it often won't cut it.

    #CSS #cssFilter #svgFilter #cssBlur #code #webDev #web #dev #webDevelpment #coding #frontend #goo #gooey #blobs #metalball

  3. A little @codepen demo I made some years back: #duotone a B&W image using pure #CSS #blending (and very little code in total) codepen.io/thebabydino/pen/MWb

    With a comparison slider between the two blend modes that may be used for the effect and a picker for duotone palette base.

    Created for my Taming Blend Modes #CSSTricks article css-tricks.com/taming-blend-mo

    #blendMode #code #coding #frontend #web #dev #webDev #webDevelpment #interactive #CodePen #JS #JavaScript #slider #comparison #comparisonSlider

  4. A little @codepen demo I made some years back: #duotone a B&W image using pure #CSS #blending (and very little code in total) codepen.io/thebabydino/pen/MWb

    With a comparison slider between the two blend modes that may be used for the effect and a picker for duotone palette base.

    Created for my Taming Blend Modes #CSSTricks article css-tricks.com/taming-blend-mo

    #blendMode #code #coding #frontend #web #dev #webDev #webDevelpment #interactive #CodePen #JS #JavaScript #slider #comparison #comparisonSlider

  5. A little @codepen demo I made some years back: #duotone a B&W image using pure #CSS #blending (and very little code in total) codepen.io/thebabydino/pen/MWb

    With a comparison slider between the two blend modes that may be used for the effect and a picker for duotone palette base.

    Created for my Taming Blend Modes #CSSTricks article css-tricks.com/taming-blend-mo

    #blendMode #code #coding #frontend #web #dev #webDev #webDevelpment #interactive #CodePen #JS #JavaScript #slider #comparison #comparisonSlider

  6. A little @codepen demo I made some years back: #duotone a B&W image using pure #CSS #blending (and very little code in total) codepen.io/thebabydino/pen/MWb

    With a comparison slider between the two blend modes that may be used for the effect and a picker for duotone palette base.

    Created for my Taming Blend Modes #CSSTricks article css-tricks.com/taming-blend-mo

    #blendMode #code #coding #frontend #web #dev #webDev #webDevelpment #interactive #CodePen #JS #JavaScript #slider #comparison #comparisonSlider

  7. A little @codepen demo I made some years back: #duotone a B&W image using pure #CSS #blending (and very little code in total) codepen.io/thebabydino/pen/MWb

    With a comparison slider between the two blend modes that may be used for the effect and a picker for duotone palette base.

    Created for my Taming Blend Modes #CSSTricks article css-tricks.com/taming-blend-mo

    #blendMode #code #coding #frontend #web #dev #webDev #webDevelpment #interactive #CodePen #JS #JavaScript #slider #comparison #comparisonSlider

  8. #tinyCSStip You may have seen some of my demos using this on #CodePen already. Here's the how behind it.

    Pure #CSS #halftone effect in 3 declarations:

    ✨ background layering a pattern and a map
    ✨ blend mode multiplication of the two layers
    ✨ contrast bump up to push all greys to either black or white

    #cssFilter #filter #cssTricks #cssTip #cssTips #tipsAndTricks #code #coding #frontend #wedDev #webDevelpment

  9. #tinyCSStip You may have seen some of my demos using this on #CodePen already. Here's the how behind it.

    Pure #CSS #halftone effect in 3 declarations:

    ✨ background layering a pattern and a map
    ✨ blend mode multiplication of the two layers
    ✨ contrast bump up to push all greys to either black or white

    #cssFilter #filter #cssTricks #cssTip #cssTips #tipsAndTricks #code #coding #frontend #wedDev #webDevelpment

  10. #tinyCSStip You may have seen some of my demos using this on #CodePen already. Here's the how behind it.

    Pure #CSS #halftone effect in 3 declarations:

    ✨ background layering a pattern and a map
    ✨ blend mode multiplication of the two layers
    ✨ contrast bump up to push all greys to either black or white

    #cssFilter #filter #cssTricks #cssTip #cssTips #tipsAndTricks #code #coding #frontend #wedDev #webDevelpment

  11. #tinyCSStip You may have seen some of my demos using this on #CodePen already. Here's the how behind it.

    Pure #CSS #halftone effect in 3 declarations:

    ✨ background layering a pattern and a map
    ✨ blend mode multiplication of the two layers
    ✨ contrast bump up to push all greys to either black or white

    #cssFilter #filter #cssTricks #cssTip #cssTips #tipsAndTricks #code #coding #frontend #wedDev #webDevelpment

  12. #tinyCSStip You may have seen some of my demos using this on #CodePen already. Here's the how behind it.

    Pure #CSS #halftone effect in 3 declarations:

    ✨ background layering a pattern and a map
    ✨ blend mode multiplication of the two layers
    ✨ contrast bump up to push all greys to either black or white

    #cssFilter #filter #cssTricks #cssTip #cssTips #tipsAndTricks #code #coding #frontend #wedDev #webDevelpment

  13. `background-blend-mode` is not applied in Safari when at least one of the layers blended has `background-clip: text`.

    Bug 267129 🪲 bugs.webkit.org/show_bug.cgi?i

    Live test codepen.io/thebabydino/pen/MWx

    There are workarounds, but involve using a pseudo that wouldn't otherwise be needed at best & multiple text copies if 2+ `background` layers need to be restricted to `text`. If the text should also be `contenteditable`... 😭

    #css #Safari #SafariBug #bug #bugs #code #coding #frontend #webDev #webDevelpment

  14. `background-blend-mode` is not applied in Safari when at least one of the layers blended has `background-clip: text`.

    Bug 267129 🪲 bugs.webkit.org/show_bug.cgi?i

    Live test codepen.io/thebabydino/pen/MWx

    There are workarounds, but involve using a pseudo that wouldn't otherwise be needed at best & multiple text copies if 2+ `background` layers need to be restricted to `text`. If the text should also be `contenteditable`... 😭

    #css #Safari #SafariBug #bug #bugs #code #coding #frontend #webDev #webDevelpment