How to color specific word in a container using CSS

后端 未结 14 1729
不思量自难忘°
不思量自难忘° 2020-12-15 05:01

Suppose I have a container:

 
This is a red apple

How to color a word \"red\" with red color? Some

14条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-15 05:58

    I don't understand why people say it's impossible to do it without JavaScript. I remember doing that kind of stuff with like so:

    This is a red apple

提交回复
热议问题