Mark double column

Description

The following code shows how to mark double column.

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'>
@media ( max-width : 767px) {
  .double-col.row-fluid [class*="span"] {
    float: left;
    width: 50%;
  }<!--from  w  ww .j  av a  2 s.  c om-->
}
</style>
</head>
<body>
  <div class="container-fluid">
    <div class="row-fluid double-col">
      <div class="span3">
        <div class="well">Column 1</div>
        <!--/.well -->
      </div>
      <!--/span-->
      <div class="span9 well">Column 2</div>
      <!--/span-->
    </div>

  </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