1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-21 20:55:50 +02:00

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; color: #777;
} }
.form-label-group input:-webkit-autofill ~ label {
padding-top: .25rem;
padding-bottom: .25rem;
font-size: 12px;
color: #777;
}
/* Fallback for Edge /* Fallback for Edge
-------------------------------------------------- */ -------------------------------------------------- */
@supports (-ms-ime-align: auto) { @supports (-ms-ime-align: auto) {