Skip to content

Commit

Permalink
docs(example): refactor floating-labes's CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Jun 24, 2020
1 parent 5729057 commit d9c1ba1
Showing 1 changed file with 5 additions and 5 deletions.
Expand Up @@ -23,13 +23,13 @@ body {
margin-bottom: 1rem;
}

.form-label-group > input,
.form-label-group > label {
.form-label-group input,
.form-label-group label {
height: 3.125rem;
padding: .75rem;
}

.form-label-group > label {
.form-label-group label {
position: absolute;
top: 0;
left: 0;
Expand All @@ -47,11 +47,11 @@ body {
color: transparent;
}

.form-label-group input::-ms-input-placeholder {
.form-label-group input::-moz-placeholder {
color: transparent;
}

.form-label-group input::-moz-placeholder {
.form-label-group input::-ms-input-placeholder {
color: transparent;
}

Expand Down

0 comments on commit d9c1ba1

Please sign in to comment.