DEV Community

loading...

Discussion on: How to make Dynamic Text Overlays on Images

link2twenty profile image
Andrew Bone

There is a slightly less hacky option in the works but, currently, it doesn't work with background-clip. It's called background-filter

example

webdesign.tutsplus.com/tutorials/c...

Thread Thread
sarthology profile image
Sarthak Sharma Author

That’s cool

Thread Thread
kenbellows profile image
Ken Bellows

@link2twenty As I read your "why's it hacky" explanation, my thoughts were:

Nah, that's not hacky, that's brilliant.
Still not hacky.
Still loving it.
Grayscale? Such a cool idea.
And contrast to finish. Perfect. Why is any of this hacky?

"But it doesn't know where the text is over the image, so it gets the colours from the top left corner." -- Ahhhhh.... and that's where the hack hits the fan.

So close!