2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Drop Legacy Edge support.

This allows us to move forward without being held back. Microsoft already replaces the Legacy Edge with the new one on supported Windows versions.
This commit is contained in:
XhmikosR
2020-10-26 16:09:07 +02:00
parent 0766a09605
commit e8f1709adf
13 changed files with 11 additions and 127 deletions
@@ -10,8 +10,6 @@ toc: true
Wrap a pair of `<input class="form-control">` and `<label>` elements in `.form-floating` to enable floating labels with Bootstrap's textual form fields. A `placeholder` is required on each `<input>` as our method of CSS-only floating labels uses the `:placeholder-shown` pseudo-element. Also note that the `<input>` must come first so we can utilize a sibling selector (e.g., `~`).
This approach works in the new Microsoft Edge built on Chromium and gracefully degrades on older versions.
{{< example >}}
<div class="form-floating mb-3">
<input type="email" class="form-control" id="floatingInput" placeholder="name@example.com">