r/css • • Jan 02 '20

Put and image inside text using css

https://www.youtube.com/watch?v=clDwknoKR9I
39 Upvotes

11 comments sorted by

View all comments

13

u/shellwe Jan 02 '20 edited Jan 02 '20

I Know they like ad revenue so they do videos but I would really prefer a jsfiddle or something. There were 3 lines of code that were important.

6

u/queen-adreena Jan 02 '20

Yeah. There’s tonnes of crap videos like this being posted lately which take 3-4 minutes to tell you one tiny piece of information.

4

u/[deleted] Jan 02 '20

TLDW;?

9

u/shellwe Jan 02 '20

Have the text-fill as transparent and the background-clip as text.

Go 2:11 in and look at the bottom few lines. That's all that matters.

4

u/Hadr619 Jan 02 '20

Oh thank god I'm not alone. Everytime I click a post that interests me and its a video I audible groan, I wanted to see the Codepen or something. I dont need the explanation behind as a vidoe