Bootstrap 4 บทช่วยสอน

BS4 HOME BS4 เริ่มต้น BS4 คอนเทนเนอร์ BS4 Grid Basic BS4 วิชาการพิมพ์ BS4 สี ตาราง BS4 BS4 รูปภาพ BS4 Jumbotron การแจ้งเตือน BS4 ปุ่ม BS4 กลุ่มปุ่ม BS4 ป้าย BS4 แถบความคืบหน้า BS4 BS4 Spinners BS4 การแบ่งหน้า BS4 รายการกลุ่ม การ์ด BS4 BS4 ดรอปดาวน์ BS4 ยุบ BS4 Navs BS4 Navbar แบบฟอร์ม BS4 อินพุต BS4 กลุ่มอินพุต BS4 BS4 แบบฟอร์มที่กำหนดเอง BS4 ม้าหมุน BS4 โมดอล เคล็ดลับเครื่องมือ BS4 BS4 ป๊อปโอเวอร์ BS4 ขนมปังปิ้ง BS4 Scrollspy BS4 ยูทิลิตี้ BS4 Flex ไอคอน BS4 วัตถุสื่อ BS4 ตัวกรอง BS4

Bootstrap 4 Grid

ระบบกริด BS4 BS4 ซ้อน/แนวนอน BS4 Grid XSmall BS4 กริดขนาดเล็ก BS4 กริดขนาดกลาง BS4 กริดขนาดใหญ่ BS4 Grid XLarge ตัวอย่างกริด BS4

Bootstrap 4 อื่นๆ

เทมเพลตพื้นฐาน BS4 แบบฝึกหัด BS4 แบบทดสอบ BS4

Bootstrap 4 อ้างอิง

ทุกชั้นเรียน JS Alert ปุ่ม JS JS Carousel JS ยุบ JS Dropdown JS Modal JS Popover JS Scrollspy JS แท็บ JS Toasts JS Tooltip


Bootstrap 4 บทช่วย สอน

Bootstrap 4 เป็นเวอร์ชันใหม่ล่าสุดของBootstrapซึ่งเป็นเฟรมเวิร์ก HTML, CSS และ JavaScript ที่ได้รับความนิยมมากที่สุดสำหรับการพัฒนาเว็บไซต์ที่ตอบสนองและเน้นมือถือเป็นหลัก

Bootstrap 4 สามารถดาวน์โหลดและใช้งานได้ฟรี!

เริ่มเรียนรู้ Bootstrap 4 ทันที »

เรียนรู้ Bootstrap 4


ลองด้วยตัวคุณเอง ตัวอย่าง

บทช่วยสอน Bootstrap 4 นี้มีตัวอย่าง Bootstrap 4 หลายร้อยตัวอย่าง

ด้วยโปรแกรมแก้ไขออนไลน์ของเรา คุณสามารถแก้ไขโค้ดและคลิกที่ปุ่มเพื่อดูผลลัพธ์

หน้า Bootstrap ที่ตอบสนอง

Bootstrap 4 ตัวอย่าง

<div class="jumbotron text-center">
  <h1>My First Bootstrap Page</h1>
  <p>Resize this responsive page to see the effect!</p>
</div>

<div class="container">
  <div class="row">
    <div class="col-sm-4">
      <h3>Column 1</h3>
      <p>Lorem ipsum dolor..</p>
    </div>
    <div class="col-sm-4">
      <h3>Column 2</h3>
      <p>Lorem ipsum dolor..</p>
    </div>
    <div class="col-sm-4">
      <h3>Column 3</h3>
      <p>Lorem ipsum dolor..</p>
    </div>
  </div>
</div>

คลิกที่ปุ่ม "ลองด้วยตัวคุณเอง" เพื่อดูว่ามันทำงานอย่างไร



Bootstrap 5 vs. Bootstrap 3 & 4

บทช่วยสอนนี้เป็นไปตามBootstrap 4ซึ่งเปิดตัวในปี 2018 โดยเป็นการอัปเกรดเป็นBootstrap 3พร้อมส่วนประกอบใหม่ สไตล์ชีตที่เร็วขึ้น การตอบสนองที่มากขึ้น เป็นต้น

Bootstrap 5 (released 2021) is the newest version of Bootstrap; It supports the latest, stable releases of all major browsers and platforms. However, Internet Explorer 11 and down is not supported.

The main differences between Bootstrap 5 and Bootstrap 3 & 4, is that Bootstrap 5 has switched to JavaScript instead of jQuery.

Note: Bootstrap 3 and Bootstrap 4 is still supported by the team for critical bugfixes and documentation changes, and it is perfectly safe to continue to use them. However, new features will NOT be added to them.


Bootstrap 4 Basic Template

We have created a responsive starter template with Bootstrap 4. You are free to modify, save, share, and use it in your projects:


Bootstrap References

A complete list of all Bootstrap 4 CSS classes with description and examples:

If you want to do more with Bootstrap components, see our complete Bootstrap 4 JavaScript/jQuery reference - all with "Try it Yourself" examples:


Bootstrap 4 Exercises

Test Yourself With Exercises

Exercise:

Use a Bootstrap class to center the following text:

<p class=""> Hello World!</p>


Bootstrap 4 Quiz Test

Test your Bootstrap 4 skills at W3Schools!

Start Bootstrap 4 Quiz!


Did You Know?

W3.CSS is an excellent alternative to Bootstrap 4.

W3.CSS is smaller, faster, and easier to use.

If you want to learn W3.CSS, go to our W3.CSS Tutorial.