Colouring a specific character through CSS

后端 未结 5 1427
生来不讨喜
生来不讨喜 2021-01-27 03:17

What I am after is to colour in just one character of my code throughout the page.

The lines between each of the words are what I would like to be a different colour fro

5条回答
  •  礼貌的吻别
    2021-01-27 04:02

    AFAIK there is no pure CSS solution for this. If you are using jQuery it would probably be easiest to make use of the highlight plugin for this: http://bartaz.github.io/sandbox.js/jquery.highlight.html

提交回复
热议问题