Question

Pablo G

How Do I Change/Add a Different Color to a Place Holder for My Search Box?

Asked by Pablo G 7 months ago color searchbox

Answers

Joel Reyes
0
 
For this we can use a contentEditable div that will allow us to change the style of our textbook.

<div contentEditable="true" style="width: 400px; border: 1px solid black;"
     onFocus="if (typeof this.hadFocus === 'undefined') {
                  this.innerHTML = ''; this.hadFocus = true; }">
     Search over<span style="color: Red;">CONTENT to be COLORED</span> Tutorials</div>

by Joel Reyes 6 months ago

Answer this question

How Do I Change/Add a Different Color to a Place Holder for My Search Box?

0 errors found:

 
0