]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
update to include nav link and mo betta docs on that last commit
authorMark Otto <otto@github.com>
Thu, 15 Aug 2013 17:54:32 +0000 (10:54 -0700)
committerMark Otto <otto@github.com>
Thu, 15 Aug 2013 17:54:32 +0000 (10:54 -0700)
_includes/nav-getting-started.html
getting-started.html

index ad574b621146305080c51eb400486de871e8f64f..f0e6af7ac4c61926d216f4012600bfe48dc0fdb1 100644 (file)
@@ -11,6 +11,9 @@
 <li>
   <a href="#template">Basic template</a>
 </li>
+<li>
+  <a href="#disable-responsive">Disabling responsiveness</a>
+</li>
 <li>
   <a href="#browsers">Browser support</a>
 </li>
index 85d40b387291165638bc7604b766e729a6567aa5..fc495aeaecbb57de9161fc18562c7fce3f7a005b 100644 (file)
@@ -133,6 +133,7 @@ bootstrap/
     </div>
     <p class="lead">Don't want your site or application to be scale on different device? With a little bit of work you can disable the responsive features of Bootstrap so that mobile users see your full desktop-version site.</p>
 
+    <h3>Steps to disable responsive views</h3>
     <p>To disable responsive features, follow these steps. See it in action in the modified template below.</p>
     <ol>
       <li>Remove (or just don't add) the meta viewport mentioned in <a href="../css/#overview-mobile">the CSS docs</a></li>
@@ -141,6 +142,8 @@ bootstrap/
     </ol>
     <p>You'll still need respond.js for IE8 (since our media queries are still there and need to be picked up). This just disables the "mobile site" of Bootstrap.</p>
 
+    <h3>Bootstrap template with disabled responsive</h3>
+    <p>We've taken the above steps and applied them to a basic template here. Note the steps above are called out in comments here, e.g. <code>&lt;-- 1. --&gt;</code>.</p>
 {% highlight html %}
 <!DOCTYPE html>
 <html>
@@ -161,6 +164,13 @@ bootstrap/
 
     <h1>Hello, world!</h1>
 
+    <!-- 3. When using grid columns, use the `.col-xs-*` classes -->
+    <div class="row">
+      <div class="col-xs-4">One third</div>
+      <div class="col-xs-4">One third</div>
+      <div class="col-xs-4">One third</div>
+    </div>
+
     <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
     <script src="//code.jquery.com/jquery.js"></script>