Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(input): make native input background transparent #468

Merged
merged 1 commit into from
May 19, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/components/input/input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ $md-input-underline-disabled-background-image: linear-gradient(to right,
// Font needs to be inherited, because by default <input> has a system font.
font: inherit;

// The Material input should match whatever background it is above.
background: transparent;

// By default, <input> has a padding, border, outline and a default width.
border: none;
outline: none;
Expand Down