Methods for Contrasting Text Against Backgrounds

It started with seeing a recent Pen of Mandy Michael’s text effects demos. I’m a very visual creature, so the first thing I noticed was the effect, not the title (which clearly states how the effect was achieved). Instantly, my mind went “blend modes!", which turned out to be wrong.
The demo actually uses clip-path. First of all, the text is duplicated. We have black text below as the actual text content of the element and the white …

Methods for Contrasting Text Against Backgrounds is a post from CSS-Tricks

Link: https://css-tricks.com/methods-contrasting-text-backgrounds/