home.social

#textstroke — Public Fediverse posts

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

  1. Here's another 2 techniques in 1 demo on @codepen: double stroke, transparent text, two approaches codepen.io/thebabydino/pen/GgR

    Can you figure out any of them before checking the code? Neither uses any duplication whatsoever (no duplicating the text and no duplicating the image as tex fill).

    #CSS #SVG #textStroke #textEffects #code #textEffect #coding #frontend #filter #svgFilter #web #dev #webDev #webDevelopment

  2. Updated to add another possible solution not limited by font (not ugly for cursive fonts) - see
    mastodon.social/@anatudor/1124

    However, this solution needs text duplication + has both inner & outer stroke outside unstroked text shape.

    Both on @codepen 👉 codepen.io/thebabydino/pen/GgR

    #SVG #filter #textEffect #svgFilter #coding #code #frontend #typography #textEffects #web #dev #webDev #webDevelopment #textStroke

  3. Most cursive #fonts are unusable with `text-stroke`. Yeah, there's `paint-order`, but I want to have a *semi-transparent* stroke *on top* of the fill in order to create a `font-size`-relative *double* stroke (think something like dribbble.com/shots/15885997-Vi, where we have an inner white stroke and an outer blue one), so just covering up the stroke where it intersects the fill defeats that purpose.

    #textStroke #stroke #strokedText #handwriting #font #typography #css #code #coding #frontend #webDev