Skip to content

Placeholder in Firefox  #130

@TMMC

Description

@TMMC

There's a similar issue.
Placeholder in Firefox & Chrome is not working as the spec says.

(...) when the element's value is the empty string and/or the control is not focused
(e.g. by displaying it inside a blank unfocused control and hiding it otherwise).

I would consider adding this:

:focus:-moz-placeholder { 
    color: transparent !important; 
}

:focus:-ms-input-placeholder { /* just to be sure */
    color: transparent !important; 
}

:focus::-webkit-input-placeholder { /* from github: http://bit.ly/Qrarca */
    color: transparent !important; 
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions