Skip to content

Commit d2c6cb8

Browse files
committed
fix(input): make native input background transparent (#468)
Fixes #277
1 parent de2a9f2 commit d2c6cb8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/components/input/input.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ $md-input-underline-disabled-background-image: linear-gradient(to right,
7575
// Font needs to be inherited, because by default <input> has a system font.
7676
font: inherit;
7777

78+
// The Material input should match whatever background it is above.
79+
background: transparent;
80+
7881
// By default, <input> has a padding, border, outline and a default width.
7982
border: none;
8083
outline: none;

0 commit comments

Comments
 (0)