fix form input autofill style
This commit is contained in:
parent
c2e7341a96
commit
f6c9a4e117
|
@ -32,3 +32,17 @@ input[type=text], input[type=password], input[type=email], input[type=number], i
|
||||||
border-bottom: 5px solid $fg-color;
|
border-bottom: 5px solid $fg-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*Remove Yellow background on input in Firefox*/
|
||||||
|
input {
|
||||||
|
filter: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
input:autofill {
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
/*Remove background on input autofill in Chrome*/
|
||||||
|
input:-webkit-autofill {
|
||||||
|
-webkit-box-shadow: 0 0 0 1000px $bg-color inset;
|
||||||
|
-webkit-text-fill-color: $fg-color;
|
||||||
|
}
|
Loading…
Reference in New Issue