[whatwg] Hide placeholder on input controls on focus
Tim Streater
tim at clothears.org.uk
Mon Mar 18 09:47:00 PDT 2013
On 18 Mar 2013 at 12:27, Boris Zbarsky <bzbarsky at 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
More information about the whatwg
mailing list