Javascript 引导脚手架的局限性

Javascript 引导脚手架的局限性,javascript,twitter-bootstrap,scaffolding,Javascript,Twitter Bootstrap,Scaffolding,我第一次尝试使用引导脚手架,不知道我能不能做到。 //这涵盖了浏览器的宽度 我希望它居中,不超过1200像素 我的想法是,我想在html文档中的不同区域独立使用脚手架功能,我可以这样做吗,还是被迫从整个页面的角度来看呢。。您首先要做的是从以下内容开始: <!DOCTYPE html> <html> <head> <title>Bootstrap 101 Template</title> <

我第一次尝试使用引导脚手架,不知道我能不能做到。
//这涵盖了浏览器的宽度
我希望它居中,不超过1200像素

我的想法是,我想在html文档中的不同区域独立使用脚手架功能,我可以这样做吗,还是被迫从整个页面的角度来看呢。。您首先要做的是从以下内容开始:

<!DOCTYPE html>
<html>
    <head>
        <title>Bootstrap 101 Template</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <!-- Bootstrap -->
        <link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
    </head>
    <body>
        <h1>Hello, world!</h1>
        <script src="http://code.jquery.com/jquery.js"></script>
        <script src="js/bootstrap.min.js"></script>
    </body>
</html>

引导101模板
你好,世界!
你不必做整个页面,你只需要把它放在你想要的地方

<!-- The container is necessary for your rows -->
<div class="container">
<!-- Each row will hold a row of 'spans' -->
    <div class="row">
        <!-- This will center whatever content you want. -->
        <div class="offset2 span8">
        </div>
    </div>
</div>