I
I
Ilya2014-03-17 17:13:51
css
Ilya, 2014-03-17 17:13:51

How to make text multicolor in CSS (if possible)?

I want to make the text have, for example, two colors: the top of each letter is blue, and the bottom is red. But since I'm not an expert in css, I need help in this matter. Tell me how to do it. Is this even possible in css or just graphics? I drew an example terribly, but at least something.
149tmqd.jpg

Answer the question

In order to leave comments, you need to log in

3 answer(s)
E
Evgeny Nizamiev, 2014-03-17
@ilya_jedi

cssdeck.com/labs/uyw67yg5
Here is my version

S
Sergey, 2014-03-17
Protko @Fesor

it's usually done this way (if the background image allows).
For webkit there is -webkit-background-clip: text. In this case, you are setting the background of the block to be a gradient, and this property will tell the browser to draw the background only within the boundaries of the text. But it's not cross browser.

A
Alexander Petrov, 2014-03-17
@dzhiriki

Horizontally , anyway.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question