v4 Examples/Floating-labels: fix bad behavior with autofill

This commit is contained in:
Itamar Eduardo Gonçalves de Oliveira 2020-10-26 20:21:38 -04:00 committed by Mark Otto
parent a1b2071fe0
commit 61b5efbaf7

View File

@ -103,6 +103,13 @@ body {
color: #777;
}
.form-label-group input:-webkit-autofill ~ label {
padding-top: .25rem;
padding-bottom: .25rem;
font-size: 12px;
color: #777;
}
/* Fallback for Edge
-------------------------------------------------- */
@supports (-ms-ime-align: auto) {