Create beautifully simple form labels that float over your input fields.
Use .form-control-line
.
Wrap a <Form.Control>
element in <FloatingLabel>
to enable floating labels with Bootstrap’s textual form fields. A placeholder is required on each <Form.Control>
as our method of CSS-only floating labels uses the :placeholder-shown
pseudo-element.