#TextEffects

Virtual Curiositiesvirtual_curiosities
2025-06-23

A for creating a glowing text effect in , which is non-destructive and can be used in illustrations as well.
virtualcuriosities.com/article

Virtual Curiositiesvirtual_curiosities
2025-06-21
Ana Tudor 🐯anatudor
2025-06-19

Saw mastodon.social/@codepo8@toot.

Since that logo is a 12KB complicated .svg, I recreated something of the kind on @codepen with + + an extrusion codepen.io/thebabydino/pen/zxG

... with under 10% the total amount of code! 🥳

Screenshot of linked demo. Shows the text "all things open 2025" in all caps with a white extrusion that has the letter face cut out of it.
Ana Tudor 🐯anatudor
2025-03-01

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

Transparent text with a double stroke, black outer one and white inner one. Two different fonts are used, a cursive one on the top line and a sans-serif one on the bottom line.
Ana Tudor 🐯anatudor
2025-02-25

1⃣ using a channel as an alpha mask - the bottom row lets us choose which input channel is used for the output alpha; if we set one of the RGB channels (first 3 values) to 1 and zero all else on the last row, that channel is used as the alpha mask.

Here is the interactive demo illustrating this on @codepen
codepen.io/thebabydino/full/OJ

Ana Tudor 🐯anatudor
2025-02-25

Want inline semitransparent text background with no overlap?

Here's how on @codepen
codepen.io/thebabydino/pen/gbO
(you can see the overlap problem and the desired result below)

The `filter` combines 2 `feColorMatrix` techniques:

1️⃣ using a channel as an alpha mask

2️⃣ solid fill

Screenshot showing the problem + the fix.
Ana Tudor 🐯anatudor
2025-01-10

Made a version of mastodon.social/@codepen@fosst that doesn't duplicate the text and doesn't split it into individual letters - it's all done with a heading, a little bit of and a simple . No JS either.

Check it out!
codepen.io/thebabydino/pen/RNb

Ana Tudor 🐯anatudor
2025-01-10

Somebody asked how to fix a text fill effect and got an answer, but I thought I could improve on that, so here's me writing in detail about what I'd do instead reddit.com/r/css/comments/1hwh

And my solution on @codepen

codepen.io/thebabydino/pen/RNb

Ana Tudor 🐯anatudor
2025-01-02

Started making something on @codepen on the last day of the year, but didn't really get anywhere I was happy with...

Posting it anyway codepen.io/thebabydino/pen/XJr

1 div, no text duplication, just some CSS + SVG filters. Chromium only, Firefox & Safari bugs linked in description.

Ana Tudor 🐯anatudor
2024-11-26

Oh, and look, one of the resources linked for this week's CodePen Challenge (codepen.io/challenges/2024/nov) is one of my faves out of all the text effects I've made this year: here is real magic 🪄

codepen.io/thebabydino/pen/Jjq

Ana Tudor 🐯anatudor
2024-11-18

Someone hearted a Pen I made over a year ago, a no library, minimal JS version of another I found on @codepen.

At the time, it didn't work in Firefox as it was transitioning custom properties and support for :has() there was spotty.

Now it's cross-browser codepen.io/thebabydino/pen/gOqYdJd

Ana Tudor 🐯anatudor
2024-11-11

A fun little demo I made on @codepen.io: codepen.io/thebabydino/pen/ZEZ

No text duplication whatsoever, as it can be seen in the DevTools panel, just magic. 🪄

Another entry for this week's .

Screenshot. Shows the text "we have the cure for hope" in all caps in a fun cursive font. The text appears in a dark grey outline version on top of a filled and offset version. The part of the back offset version that's inside the outline is orange, while the part that's outside is golden.

DevTools panel open on the right to show that there is no JS, no text duplication whatsoever, not in the markup and not in any pseudo-element `content`. All is just one div containing the text only once, SVG filters and a bit of CSS.
Ana Tudor 🐯anatudor
2024-11-11

Here's a fun layered text effect on @codepen codepen.io/thebabydino/pen/vYM

No text duplication whatsoever, no text-shadow, no JS, no images save for CSS gradients.

All done with gradients, transforms & magic! 🪄

Also an entry for this week's
.

Ana Tudor 🐯anatudor
2024-11-10

Here's a cool 3D effect on @codepen: codepen.io/thebabydino/pen/PogJybr

No text duplication whatsoever, no images save for gradients creating the dot . The effect and outline are made from magic.🪄

An entry for this week's .

Ana Tudor 🐯anatudor
2024-11-10

A simple-looking, but tricky text effect on @codepen: codepen.io/thebabydino/pen/rNb

No text duplication whatsoever, no JS. And the offset between the two blended text layers is font-size relative, which filters can't do. So there's an extra trick involved.🪄

An entry for this week's .

Ana Tudor 🐯anatudor
2024-11-10

After a retro text effect, here's a modern 3D one with an outline and an inner shadow on @codepen: codepen.io/thebabydino/pen/LYv

No text duplication whatsoever, no text shadow, no JS, no funky fonts, no images. Just some magic.🪄

An entry for this week's .

Ana Tudor 🐯anatudor
2024-11-09

Retro: a "damaged paint" text with a rotated dot grid shadow on @codepen: codepen.io/thebabydino/pen/rNb

No text duplication whatsoever, not in the markup and not in any pseudo-element content. Just a little bit of and magic. 🪄✨

An entry for this week's .

Degraded all caps text with an offset shadow that's made up of a dot pattern.
Ana Tudor 🐯anatudor
2024-11-09

Here's a cool 3D multi-layer text effect I made on @codepen codepen.io/thebabydino/pen/PoL

Contenteditable. No text duplication, no text-shadow, no images save for gradients, no JS. Just magic. 🪄✨

An entry for this week's .

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst