diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/4.1/examples/floating-labels/floating-labels.css | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs/4.1/examples/floating-labels/floating-labels.css b/docs/4.1/examples/floating-labels/floating-labels.css index 2c1d91bf36..a5634ab5f4 100644 --- a/docs/4.1/examples/floating-labels/floating-labels.css +++ b/docs/4.1/examples/floating-labels/floating-labels.css @@ -80,3 +80,25 @@ body { font-size: 12px; color: #777; } + +/* Fallback for Edge +-------------------------------------------------- */ +@supports (-ms-ime-align: auto) { + .form-label-group > label { + display: none; + } + .form-label-group input::-ms-input-placeholder { + 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; + } +} |