นี่คือโครงสร้างพื้นฐานที่สมบูรณ์แบบสำหรับรูปแบบความกว้าง 100%ในBootstrap v3.0.0 คุณไม่ควรห่อของคุณ<div class="row">ที่มีcontainerระดับ containerคลาสสาเหตุจะใช้ระยะขอบมากและจะไม่แสดงเค้าโครงแบบเต็มหน้าจอ (ความกว้าง 100%) ซึ่ง bootstrap ได้ลบคลาสcontainer-fluidออกจากเวอร์ชันมือถือแรก v3.0.0
ดังนั้นเพียงเริ่มเขียน<div class="row">โดยไม่มีคลาสคอนเทนเนอร์และคุณก็พร้อมที่จะใช้เลย์เอาต์ความกว้าง 100%
<!DOCTYPE html>
<html>
  <head>
    <title>Bootstrap Basic 100% width Structure</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
    <link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
<style>
    .red{
        background-color: red;
    }
    .green{
        background-color: green;
    }
</style>
</head>
<body>
    <div class="row">
        <div class="col-md-3 red">Test content</div>
        <div class="col-md-9 green">Another Content</div>
    </div>
    
    <script src="//code.jquery.com/jquery.js"></script>
    
    <script src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
</body>
</html>
เพื่อดูผลลัพธ์ด้วยตัวเองฉันได้สร้าง bootply ดูผลลัพธ์สดที่นั่น http://bootply.com/82136และ bootstrap พื้นฐานที่สมบูรณ์ 3 เค้าโครงความกว้าง 100% ฉันได้สร้างส่วนสำคัญ คุณสามารถใช้ รับส่วนสำคัญจากที่นี่
ตอบกลับฉันหากคุณต้องการความช่วยเหลือเพิ่มเติม ขอบคุณ.
     
              
@container-*ความกว้างได้ 100% นอกจากนี้.container-fluidกำลังจะกลับมาใน 3.1.0 :)