How to make multiline texts multicolor with CSS? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 20

How to make multiline texts multicolor with CSS?

Edit : actually I want text multicolor like gradient vertically. Is it possible with CSS?

10th Mar 2018, 1:05 PM
MAGFAR
MAGFAR - avatar
7 Answers
+ 8
Seems like you want something like this! https://code.sololearn.com/WcxtdPnVLJ7u/?ref=app
10th Mar 2018, 4:08 PM
777
777 - avatar
+ 25
I guess u can use span tag & create id for each line.... if u want to create different paragraphs of multi color u can use div tag... & put id in <p> https://code.sololearn.com/W7Lo5Io8OK8A/?ref=app
10th Mar 2018, 1:24 PM
🌛DT🌜
🌛DT🌜 - avatar
+ 6
Awesome!! Yes I was looking for this. Thanks @Blue
10th Mar 2018, 6:48 PM
MAGFAR
MAGFAR - avatar
+ 6
Hello☺ Try to use the "pre" tag :) For example: <pre> Here is some text </pre>
12th Mar 2018, 12:40 AM
renamed
renamed - avatar
+ 2
How to use pseudo classes to make multicolor?
11th Mar 2018, 11:22 AM
MAGFAR
MAGFAR - avatar
+ 2
How? Can you please explain?
12th Mar 2018, 4:37 AM
MAGFAR
MAGFAR - avatar
+ 1
use pseudo classes
11th Mar 2018, 8:48 AM
فاطمة عباس
فاطمة عباس - avatar