Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bootstrap 3 - Long form with different sections - full width background

I started using Bootstrap 3 and have a really long form. I would like to separate each section with different full width background color, and I'm curious what the correct markup would be.

Should it be something like following?

<form>
  <section>
    <div class="container">
       <div class="row">
          <div class="form-group">
              <label for="email" class="col-sm-2 control-label">Email</label>
              <div class="col-xs-12 col-md-4">
                 <input type="email" class="form-control input-sm" name="email" id="email" value="" placeholder="Email">
              </div>
          </div>
       </div>
    </div>
  </section>
</form>
like image 972
user1049961 Avatar asked Mar 12 '26 12:03

user1049961


1 Answers

Sorry if it is late, but was looking for something similar. Found Panels utility inside basic bootstrap and worked for me. Hope could help someone.

like image 89
Sposmen Avatar answered Mar 15 '26 02:03

Sposmen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!