Floating label
A container that wraps a field: its <span> sits over the frame and rises out of the way once the field has content. Unlike label, which sits inside a field, this one goes around it.
| Class | Effect | Type |
|---|---|---|
.floating-label | A container that wraps a field: its <span> sits over the frame and rises out of the way once the field has content. Unlike label, which sits inside a field, this one goes around it. | root |