Bootstrap CSS Classes

Bootstrap CSS class .form-floating

    <div class="form-floating mb-3">
        <input type="email" class="form-control" id="floatingInput" placeholder="Enter your e-mail">
        <label for="floatingInput">Enter your e-mail</label>
    </div>
    <div class="form-floating">
        <input type="password" class="form-control" id="floatingPassword" placeholder="Password">
        <label for="floatingPassword">Password</label>
    </div>

Preview

Check .form-floating in a real project

Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.

More Bootstrap CSS classes in Forms category

© 2024 Shuffle. All rights reserved.