From 2aa810e7a06bc302d8a820282a01b0d5df6cf451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Poupard?= Date: Thu, 4 Jun 2020 11:04:31 +0200 Subject: [PATCH] docs(example): drop IE workaround since it works fine in IE --- .../4.5/examples/floating-labels/floating-labels.css | 11 ----------- site/docs/4.5/examples/floating-labels/index.html | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/site/docs/4.5/examples/floating-labels/floating-labels.css b/site/docs/4.5/examples/floating-labels/floating-labels.css index d8ad2f3c15db..7a26073b8273 100644 --- a/site/docs/4.5/examples/floating-labels/floating-labels.css +++ b/site/docs/4.5/examples/floating-labels/floating-labels.css @@ -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; - } -} diff --git a/site/docs/4.5/examples/floating-labels/index.html b/site/docs/4.5/examples/floating-labels/index.html index d837ccaf1c89..f4b525d5010e 100644 --- a/site/docs/4.5/examples/floating-labels/index.html +++ b/site/docs/4.5/examples/floating-labels/index.html @@ -9,7 +9,7 @@

Floating labels

-

Build form controls with floating labels via the :placeholder-shown pseudo-element. Works in latest Chrome, Safari, and Firefox.

+

Build form controls with floating labels via the :placeholder-shown pseudo-element. Works in latest Chrome, Safari, Firefox and IE 10/11 (prefixed).