0

如何设置代码来查找Front field示例字段中的单词并更改所有单词的颜色?

在此处查看图片

4

1 回答 1

0

您已将每个字段包装在 a 中,因此使用该属性向文本<div>添加一些内容应该相对简单。colorstyle

<p>Add a <code>style</code> attribute to the
<div style="color: red;">text that you want to be red.</div>
<p><br />
<p>If one already exists, append the <code>color</code>
<div style="font-size: xx-large; color: blue;">to it.</div>

因为您正在更改卡片类型的样式,所以这应该应用于所有此类卡片。

于 2017-08-13T12:22:05.697 回答