Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>This is the complete basic structure for <strong>100% width layout</strong> in <strong>Bootstrap v3.0.0</strong>. You shouldn't wrap your <code>&lt;div class="row"&gt;</code> with <code>container</code> class. Cause <code>container</code> class will take lots of margin and this will not provide you full screen (100% width) layout where bootstrap has removed <strong>container-fluid</strong> class from their mobile-first version v3.0.0.</p> <p>So just start writing <code>&lt;div class="row"&gt;</code> without container class and you are ready to go with 100% width layout.</p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;Bootstrap Basic 100% width Structure&lt;/title&gt; &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt; &lt;!-- Bootstrap --&gt; &lt;link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"&gt; &lt;!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries --&gt; &lt;!--[if lt IE 9]&gt; &lt;script src="http://getbootstrap.com/assets/js/html5shiv.js"&gt;&lt;/script&gt; &lt;script src="http://getbootstrap.com/assets/js/respond.min.js"&gt;&lt;/script&gt; &lt;![endif]--&gt; &lt;style&gt; .red{ background-color: red; } .green{ background-color: green; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;div class="row"&gt; &lt;div class="col-md-3 red"&gt;Test content&lt;/div&gt; &lt;div class="col-md-9 green"&gt;Another Content&lt;/div&gt; &lt;/div&gt; &lt;!-- jQuery (necessary for Bootstrap's JavaScript plugins) --&gt; &lt;script src="//code.jquery.com/jquery.js"&gt;&lt;/script&gt; &lt;!-- Include all compiled plugins (below), or include individual files as needed --&gt; &lt;script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"&gt;&lt;/script&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>To see the result by yourself I have created a bootply. See the live output there. <a href="http://bootply.com/82136" rel="noreferrer">http://bootply.com/82136</a> And the complete basic bootstrap 3 100% width layout I have created a gist. you can use that. Get the gist from <a href="https://gist.github.com/shahariaazam/6636007" rel="noreferrer">here</a></p> <p>Reply me if you need more further assistance. Thanks.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload