M
M
MrFrumpuSs2020-06-17 04:34:16
css
MrFrumpuSs, 2020-06-17 04:34:16

How can I type text on which a fragment of a different color?

Greetings, how can I make a text on which a fragment of a different color as in the screenshot below?
5ee97304bfe38557472489.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman, 2020-06-17
@alf88

background: repeating-linear-gradient(white, white 2px, #7AB4E2 2px, #7AB4E2 3px);
-webkit-background-clip:text;
-webkit-text-fill-color: transparent;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question