Skip to content

Commit

Permalink
docs(example): floating-labels's better Edge fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Jun 24, 2020
1 parent 02ff387 commit 5729057
Showing 1 changed file with 8 additions and 2 deletions.
Expand Up @@ -86,9 +86,15 @@ body {
/* Fallback for Edge
-------------------------------------------------- */
@supports (-ms-ime-align: auto) {
.form-label-group > label {
display: none;
.form-label-group {
display: flex;
flex-direction: column-reverse;
}

.form-label-group label {
position: static;
}

.form-label-group input::-ms-input-placeholder {
color: #777;
}
Expand Down

0 comments on commit 5729057

Please sign in to comment.