Create fluid layout with span3

Description

The following code shows how to create fluid layout with span3.

Example


<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css"
  href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css">
<script type='text/javascript'
  src="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/js/bootstrap.min.js"></script>
<style type='text/css'>
.mobile-two h3 {<!--from w w w.  ja v  a 2 s  . c  o m-->
  min-height: 120px;
}
</style>
</head>
<body>
  <div class="hero-unit">
    <h1>Opening This Week!</h1>
    <div class="row-fluid">
      <div class="span3 mobile-two">
        <h3>The Incredible Burt Wonderstone</h3>
        <img src="http://placehold.it/80x50" />
      </div>
      <div class="span3 mobile-two">
        <h3>test small</h3>
        <img src="http://placehold.it/80x50" />
      </div>
      <div class="span3 mobile-two">
        <h3>The Incredible Burt Wonderstone</h3>
        <img src="http://placehold.it/80x50" />
      </div>
      <div class="span3 mobile-two">
        <h3>The Incredible Burt Wonderstone</h3>
        <img src="http://placehold.it/80x50" />
      </div>
      <div class="span3 mobile-two">
        <h3>The Incredible Burt Wonderstone</h3>
        <img src="http://placehold.it/80x50" />
      </div>
      <div class="span3 mobile-two">
        <h3>The Incredible Burt Wonderstone</h3>
        <img src="http://placehold.it/80x50" />
      </div>
      <div class="span3 mobile-two">
        <h3>The Incredible Burt Wonderstone</h3>
        <img src="http://placehold.it/80x50" />
      </div>
      <div class="span3 mobile-two">
        <h3>The Incredible Burt Wonderstone</h3>
        <img src="http://placehold.it/80x50" />
      </div>
      <div class="span3 mobile-two">
        <h3>The Incredible Burt Wonderstone</h3>
        <img src="http://placehold.it/80x50" />
      </div>
      <div class="span3 mobile-two">
        <h3>The Incredible Burt Wonderstone</h3>
        <img src="http://placehold.it/80x50" />
      </div>
      <div class="span3 mobile-two">
        <h3>The Incredible Burt Wonderstone</h3>
        <img src="http://placehold.it/80x50" />
      </div>
    </div>
    <p>These movies open this Friday!</p>
    <p>
      <a class="btn btn-primary btn-small" href="#coming-soon">See
        Showtimes &raquo;</a>
    </p>
  </div>
</body>
</html>

Click to view the demo





















Home »
  Bootstrap »
    Example »




Accordion
Alert
Auto Complete
Badge
Breadcrum
Button
Carousel
Collapse
Dialog
Dropdown
Form
Icon
Jumbotron
Label
Layout
List
List Group
Media
Navigation Bar
Pager
Page Header
Panel
Paragraph
Pills
Popover
ProgressBar
ScrollSpy
Switch
Tab
Table
Thumnail
Tooltip
Tree
Well