Bootstrap Tutorial - Style a web page for large screen with Bootstrap








Style a web page for large screen with Bootstrap

<!DOCTYPE HTML>
<html>
<head>
<link href="http://java2s.com/style/bootstrap.min.css" rel="stylesheet">
<!--from w  ww.jav  a 2  s  . c o m-->
<script src="http://java2s.com/style/jquery-1.8.0.min.js"></script>
<script src="http://java2s.com/style/bootstrap.min.js"></script>


</head>

<body style='margin: 20px;'>


  <div class="container">
    <!-- Example row of columns -->
    <div class="row">
      <div class="col-lg-4">
        <h2>Heading</h2>
        <p>Donec id elit non mi porta gravida at eget metus. Fusce
          dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh,
          ut fermentum massa justo sit amet risus. Etiam porta sem malesuada
          magna mollis euismod. Donec sed odio dui.</p>
        <p>
          <a class="btn btn-default" href="#">View details &raquo;</a>
        </p>
      </div>
      <div class="col-lg-4">
        <h2>Heading</h2>
        <p>Donec id elit non mi porta gravida at eget metus. Fusce
          dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh,
          ut fermentum massa justo sit amet risus. Etiam porta sem malesuada
          magna mollis euismod. Donec sed odio dui.</p>
        <p>
          <a class="btn btn-default" href="#">View details &raquo;</a>
        </p>
      </div>
      <div class="col-lg-4">
        <h2>Heading</h2>
        <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in,
          egestas eget quam. Vestibulum id ligula porta felis euismod semper.
          Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum
          nibh, ut fermentum massa justo sit amet risus.</p>
        <p>
          <a class="btn btn-default" href="#">View details &raquo;</a>
        </p>
      </div>
    </div>

  </div>
  <!-- /container -->
</body>
</html>

Click to view the demo