K
K
Konstantin Malyarov2018-03-26 15:25:53
css
Konstantin Malyarov, 2018-03-26 15:25:53

Text as background with CSS?

I have text, I want to make it the background for a div.
<div style="background: 'ТЕКСТ'">

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andrey Fedorov, 2018-03-26
@aliencash

https://ru.stackoverflow.com/questions/759645/%d0%...

N
NaN, 2018-03-26
@KornevaViktoria

Save the text as an image, and add a url to this image.

E
Egor Lavrenov, 2018-03-26
@EgorWeb

Either through svg (see above)
Or if it is, for example, one word, you can use a pseudo-element and write text in content

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question