-1
I’m 5 input and each one stays within one div, would like to know how to put an effect phocus in each div that holds the input and by clicking off the div remove the effect.
<div class="input">
<span>Nome <strong>*</strong></span>
<input type="text" name="nome" class="txt txt_nome" placeholder="seu nome..."
</div>
And why don’t you use :Focus in input? (It seems to me that you will need to use css to paint the div border by simulating a Focus)
– Milrak Pereira Pessoa
Because the
span
has the effect of being inside the input, with CSS no way to put thefocus
indiv
, I believe that withjs
I would have just like I don’t know how to do– goio
Possible duplicate of You can use the :Focus in div?
– Woss