Styling letters of a word within an input differently, possible?

前端 未结 4 1267
独厮守ぢ
独厮守ぢ 2021-02-06 04:08

Wondering if this is even possible, but if I have a input containing text, for example lets say the word \'Test\' is in the input. What I would like to be able to do is change

4条回答
  •  臣服心动
    2021-02-06 04:41

    Don't think it is possible (will do some more test).

    What about adding a contenteditable div which looks like a input?

    Simple contenteditable exmaple: http://jsfiddle.net/PpEx7/

    EDIT

    Nopez not possible. :)

提交回复
热议问题