Re: [whatwg] Hide placeholder on input controls on focus

On 18 Mar 2013 at 12:27, Boris Zbarsky <bzbarsky@MIT.EDU> wrote: 

> On 3/18/13 5:31 AM, Markus Ernst wrote:
>> - Opera and Safari hide it when the field gets focus
>
> The behavior of Safari here is platform-dependent or possibly
> version-dependent.  Safari 6 on Mac doesn't hide the placeholder until
> you start typing.

I for one find this to be extremely irritating. Workaround I was given by some kind person:

[placeholder]:focus::-webkit-input-placeholder
     {

     color:     transparent;

     }



--
Cheers  --  Tim

Received on Monday, 18 March 2013 16:47:57 UTC