P
P
partyzanx2018-02-10 23:30:37
JavaScript
partyzanx, 2018-02-10 23:30:37

How to style characters within an element?

<class="p2">Привет, как дела! ( )</span>
How to set separate styles for , ! ( ) inside all .p2 classes Need
to set a different color, and a different font

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Spirin, 2018-02-10
@partyzanx

It is possible so .
Another option is to process a string in one pass.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question