Change the color of the text in the input using Vuejs/Html/css

Asked

Viewed 245 times

0

For example on Facebook when we type Congratulations so and so inside the input the word congratulations gets bold and orange and the person continues typing normally... ie ... when the person type the congratulations I need to change only this word for another style and the rest continues the standard style.

  • This is not input. It’s some sort of editable div with multiple functions attached.

  • Is this https://jsfiddle.net/valdeirpsr/36aeL6h0/ ? You can upload the contents of div for a input:hidden, this way you can send the content through <form>

  • that’s basically it... thank you

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.