私は自分のウェブページでさまざまな色を変える方法を考えています。 EG:「これ」は赤色に変わりますが、「ボックス」は青色に変わります。特定の単語を異なる色にするにはどうすればよいですか?
は、これまでのところ私はこれを持っている:
<div class="scroll">
<p class="margin">This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.This box should scroll when it runs out of space.
</p>
</div>
編集:
うーん、申し訳ありません。私はあなたが何を言っているのか、それをどう使うべきかを本当に理解していません。
色をランダムである?または、各単語に独自の色を付けることを望みますか? –
私はそれが独自の色を持っています – EandCProducts