How to change font family an input after selected

I would like to change font-family an input text when user selected it to enter sth.

now, Should I use jquery or css ?

default :

<input style="font-family:xxx" type="text" placeholder="test" />

after selected it to enter sth :

<input style="font-family:yyy" type="text" placeholder="test" />

Answers 1

Related Articles