Skip to content

Commit

Permalink
docs(example): drop IE workaround since it works fine in IE
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Jun 4, 2020
1 parent 4e685e7 commit 2aa810e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
11 changes: 0 additions & 11 deletions site/docs/4.5/examples/floating-labels/floating-labels.css
Expand Up @@ -89,14 +89,3 @@ body {
color: #777;
}
}

/* Fallback for IE
-------------------------------------------------- */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.form-label-group > label {
display: none;
}
.form-label-group input:-ms-input-placeholder {
color: #777;
}
}
2 changes: 1 addition & 1 deletion site/docs/4.5/examples/floating-labels/index.html
Expand Up @@ -9,7 +9,7 @@
<div class="text-center mb-4">
<img class="mb-4" src="{{ site.baseurl }}/docs/{{ site.docs_version }}/assets/brand/bootstrap-solid.svg" alt="" width="72" height="72">
<h1 class="h3 mb-3 font-weight-normal">Floating labels</h1>
<p>Build form controls with floating labels via the <code>:placeholder-shown</code> pseudo-element. <a href="https://caniuse.com/#feat=css-placeholder-shown">Works in latest Chrome, Safari, and Firefox.</a></p>
<p>Build form controls with floating labels via the <code>:placeholder-shown</code> pseudo-element. <a href="https://caniuse.com/#feat=css-placeholder-shown">Works in latest Chrome, Safari, Firefox and IE 10/11 (prefixed).</a></p>
</div>

<div class="form-label-group">
Expand Down

0 comments on commit 2aa810e

Please sign in to comment.