Form Layouts

Basic Example

Here’s a quick example to demonstrate Bootstrap’s form styles. Keep reading for documentation on required classes, form layout, and more.

We'll never share your email with anyone else.

Horizontal Form

Create horizontal forms with the grid by adding the .row class to form groups and using the .col-*-* classes to specify the width of your labels and controls. Be sure to add .col-form-label to your <label>s as well so they’re vertically centered with their associated form controls.

Inline Form

Use the .row-cols-lg-auto, .g-3 & .align-items-center class to display a series of labels, form controls, and buttons on a single horizontal row. Form controls within inline forms vary slightly from their default states. Controls only appear inline in viewports that are at least 576px wide to account for narrow viewports on mobile devices.

Auto-sizing
@

Horizontal form label sizing

Be sure to use .col-form-label-sm or .col-form-label-lg to your <label>s or <legend>s to correctly follow the size of .form-control-lg and .form-control-sm.

Form Row

By adding .row & .g-2, you can have control over the gutter width in as well the inline as block direction.

Theme Settings
Color Scheme
Light
Dark
Topbar Color
Light
Dark
Menu Color
Light
Dark
Sidebar Size
Default
Compact
Condensed
Hover View
Full Layout
Hidden
Container Width
Layout Position

快乐十分官网资讯平台

欢迎访问快乐十分官网资讯平台,致力于为用户提供最新的快乐十分彩票信息与精彩动态。我们汇集了专业的开奖分析、投注技巧、购彩指南,旨在帮助彩民更好地参与彩票游戏,提升购彩体验。无论您是新手还是资深玩家,这里都有您需要的一切资讯,助您在快乐十分的世界中游刃有余