Tsallaka zuwa abun ciki
Justice Tech School

Floating Labels

form-floating puts the label inside the input.

Example
<div class="form-floating">
  <input class="form-control" id="n" placeholder="Name">
  <label for="n">Name</label>
</div>

Exercise

Floating wrapper.

class="form-"

Quiz Test

Where does the input come in a floating label?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.