Skip to content

Commit

Permalink
fix(input): vendor-prefix ::placeholder (#2547)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba authored and kara committed Jan 6, 2017
1 parent f4f69c4 commit 3b16648
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/lib/input/input-container.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,19 @@ md-input-container {
}

.md-input-element {
// Note that we can't use something like visibility: hidden or
// display: none, because IE ends up preventing the user from
// focusing the input altogether.
&::placeholder {
// Note that we can't use something like visibility: hidden or
// display: none, because IE ends up preventing the user from
// focusing the input altogether.
color: transparent;
}
&::-moz-placeholder {
color: transparent;
}
&::-webkit-input-placeholder {
color: transparent;
}
&:-ms-input-placeholder {
color: transparent;
}

Expand Down

0 comments on commit 3b16648

Please sign in to comment.