[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-685710-105":3,"doc-detail-685710-en":80,"detail-sidebar-cat-0-en-105":158,"doc-similar-685710":201},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","bootstrap-foreword-bootstrap","Bootstrap - Foreword - Bootstrap","","Bootstrap introduces a practical framework for building responsive web interfaces, starting from foundational scaffolding and HTML templates to grid systems and layout strategies. The material then expands into comprehensive CSS coverage, including typography, emphasis, lists, tables, form controls, buttons, images, and icons. It further details reusable layout components like navigation, pagination, alerts, progress bars, and media objects, followed by an overview of JavaScript plugins such as modals, dropdowns, scrollspy, tooltips, popovers, collapses, carousels, and typeahead.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/bootstrap-foreword-bootstrap/685710/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/bootstrap-foreword-bootstrap/685710.png","ImageObject",300,407,{"name":42,"@type":43},"bocahgabuttt","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-12","2026-11-07",true,{"@type":52,"interactionType":53,"userInteractionCount":30},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"Bootstrap主要讲解哪些基础内容？","Question",{"text":62,"@type":63},"内容从Bootstrap脚手架、HTML模板、全局样式与默认栅格系统等基础开始，并进一步涉及流体栅格与响应式设计思路。","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"文档中的CSS部分包含哪些主题？",{"text":67,"@type":63},"覆盖排版与标题、强调类、列表、代码与表格、表单控件与按钮样式、图片与图标等常用样式组件。",{"name":69,"@type":60,"acceptedAnswer":70},"Bootstrap的JavaScript插件重点讲哪些？",{"text":71,"@type":63},"包括Modal、Dropdown、Scrollspy、Tabs、Tooltips、Popover、Alerts、Collapse、Carousel以及Typeahead等，并分别说明用法、选项与方法/事件。","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},685710,1794016940,{"code":4,"msg":81,"data":82},"success",{"doc_id":78,"user_id":83,"nickname":42,"user_avatar":84,"doc_module":4,"category_id":85,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":86,"file_id":87,"file_url":88,"file_type":89,"file_size":90,"view_count":30,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":91,"language":92,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":93,"faqs":94,"seo_title":95,"seo_description":12,"update_tm":79,"read_time":96,"preview_page_count":97,"preview_urls":98},962094248839,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d",6,"Bootstrap  \nDave Winer and Jake Spurlock  \nBootstrap  \nby Dave Winer and Jake Spurlock  \nCopyright © 2010 Jake Spurlock. All rights reserved.  \nPrinted in the United States of America.  \nPublished by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.  \nO’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available formost titles ([http://my.safaribooksonline.com](http://my.safaribooksonline.com). For more information, contact our corporate/)[). For more information, contact our corporate/](http://my.safaribooksonline.com). For more information, contact our corporate/)  \ninstitutional sales department: 800-998-9938 or [corporate@oreilly.com](corporate@oreilly.com).  \nEditors: Simon St. Laurent and Meghan Blanchette  \nProduction Editor: Marisa LaFleur Copyeditor:  \nProofreader: FIX ME!  \nIndexer:  \nCover Designer: Karen Montgomery  \nInterior Designer: David Futato  \nIllustrator: Robert Romano  \nMay 2013: First Edition  \nRevision History for the First Edition:  \nYYYY-MM-DD: First release  \nSee [http://oreilly.com/catalog/errata.csp?isbn=9781449343910](http://oreilly.com/catalog/errata.csp?isbn=9781449343910 for)[ for](http://oreilly.com/catalog/errata.csp?isbn=9781449343910 for) release details.  \nNutshell Handbook, the Nutshell Handbook logo, and theO’Reilly logo are registered trademarks of O’Reilly Media, Inc. !!FILL THIS IN!! and related trade dress are trademarks of O’Reilly Media, Inc.  \nMany of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a trade‐ mark claim, the designations have been printed in caps or initial caps.  \nWhile every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.  \nISBN: 978-1-449-34391-0  \n[?]  \nTable of Contents  \nForeword..................................................................... vii  \nPreface....................................................................... ix  \n1. Bootstrap Scaffolding........................................................ 1  \nWhat is Bootstrap 1  \nBootstrap File Structure 2  \nBasic HTML Template 2  \nGlobal Styles 3  \nDefault Grid System 3  \nBasic grid HTML 4  \nOffsetting Columns 4  \nNesting columns 5  \nExcercise 1 5  \nFluid Grid System 6  \nContainer Layouts 7  \nResponsive Design 7  \nWhat is Responsive Design? 8  \n2. Bootstrap CSS.............................................................. 11  \nTypography 11  \nHeadings 11  \nEmphasis classes 13  \nLists 17  \nCode 20  \nTables 20  \nOptional Table Classes 21  \nTable Row Classes 23  \nForms 23  \nOptional Form Layouts 24  \nSupported Form Controls 26  \nExtending Form Controls 29  \nForm Control Sizing 31  \nForm Control States 35  \nButtons 36  \nButton Sizes 38  \nDisabled Button Styling 39  \nImages 40  \nIcons 40  \nGlyphicon Attribution 41  \nUsage 42  \n3. Bootstrap Layout Components............................................... 45  \nDropdown Menus 45  \nOptions 46  \nButton Groups 46  \nButton Groups as Radio and Checkboxes 48  \nButtons With Dropdowns 48  \nSplit Button Dropdowns 49  \nDropup Menus 50  \nNavigation Elements 51  \nTabular Navigation 51  \nBasic Pills Navigation 51  \nStackable Navs 52  \nDropdowns 53  \nNavigation Lists 54  \nTabbable Navigation 55  \nNavbar 58  \nNav Links 59  \nForms 60  \nNavbar Menu Variations 60  \nBreadcrumbs 63  \nPagination 64  \nPager 66  \nLabels and Badges 67  \nBadges 67  \nTypographic Elements 68  \nPage Header 68  \nThumbnails 69  \nAlerts 70  \nProgress bars 72  \nMedia Object 73  \nMisc 76  \nHelper Classes 77  \n4. Bootstrap Javascript Plugins................................................. 79  \nOverview 79  \nProgramattic API 80  \nTransitions 80  \nModal 81  \nUsing Modal through Data Attributes 82  \nModal Options 82  \nMethods","cbCail901fRutr6L","https://ap.wps.com/l/cbCail901fRutr6L","pdf",7741768,125,"English","# Foreword\n# Preface\n# 1. Bootstrap Scaffolding\n# 2. Bootstrap CSS\n# 3. Bootstrap Layout Components\n# 4. Bootstrap Javascript Plugins\n# 5. Using Bootstrap","[{\"question\":\"Bootstrap主要讲解哪些基础内容？\",\"answer\":\"内容从Bootstrap脚手架、HTML模板、全局样式与默认栅格系统等基础开始，并进一步涉及流体栅格与响应式设计思路。\"},{\"question\":\"文档中的CSS部分包含哪些主题？\",\"answer\":\"覆盖排版与标题、强调类、列表、代码与表格、表单控件与按钮样式、图片与图标等常用样式组件。\"},{\"question\":\"Bootstrap的JavaScript插件重点讲哪些？\",\"answer\":\"包括Modal、Dropdown、Scrollspy、Tabs、Tooltips、Popover、Alerts、Collapse、Carousel以及Typeahead等，并分别说明用法、选项与方法/事件。\"}]","Bootstrap - Foreword - Bootstrap | PDF",315,13,[99,103,107,111,115,120,124,129,134,139,144,149,154],{"page_no":22,"url":100,"width":101,"height":102},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/a5a3279ae96dc33b947607825ac10ce1.webp",983,1290,{"page_no":26,"url":104,"width":105,"height":106},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/3c53ff9b114af41e273bd2598b78f874.webp",982,1289,{"page_no":30,"url":108,"width":109,"height":110},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/616b0cdacb4b12c9b50683aa4f5d3152.webp",981,1288,{"page_no":33,"url":112,"width":113,"height":114},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/127fa1b1499ed5ec9c88d1df3eddc6ea.webp",980,1286,{"page_no":116,"url":117,"width":118,"height":119},5,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/f30914f2fde18cbb5d5428c64d7435dc.webp",979,1285,{"page_no":85,"url":121,"width":122,"height":123},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/b718993ee55bcd674028e1820e5b1735.webp",978,1284,{"page_no":125,"url":126,"width":127,"height":128},7,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/891ef84a813af0a33603734b71720c39.webp",977,1282,{"page_no":130,"url":131,"width":132,"height":133},8,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/2277aafafd1af7340bb58b64e460c1ac.webp",976,1281,{"page_no":135,"url":136,"width":137,"height":138},9,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/c54fc42ed27f5083ed4f0d822dd62353.webp",975,1280,{"page_no":140,"url":141,"width":142,"height":143},10,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/5ec7df6a9c50e9b6a5428708122b3e40.webp",974,1278,{"page_no":145,"url":146,"width":147,"height":148},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/9938c91cd0118ea08cd8a3f39ef10bf0.webp",973,1277,{"page_no":150,"url":151,"width":152,"height":153},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/ec454d579e33eed78a59465f4fb3a978.webp",972,1276,{"page_no":97,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/7ca74786f168ae43d5c18e56de07b065.webp",971,1274,{"code":4,"msg":81,"data":159},[160,164,168,172,176,179,183,187,191,194,197],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":161,"show_sort_weight":162,"slug":163},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":165,"show_sort_weight":166,"slug":167},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":169,"show_sort_weight":170,"slug":171},"Exam",70,"exam",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":173,"show_sort_weight":174,"slug":175},"Comic",60,"comic",{"id":85,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":177,"slug":178},50,"technology",{"id":125,"doc_module":4,"doc_module_name":25,"category_name":180,"show_sort_weight":181,"slug":182},"Healthcare",40,"healthcare",{"id":130,"doc_module":4,"doc_module_name":25,"category_name":184,"show_sort_weight":185,"slug":186},"Research & Report",30,"research-report",{"id":135,"doc_module":4,"doc_module_name":25,"category_name":188,"show_sort_weight":189,"slug":190},"Religion & Spirituality",20,"religion-spirituality",{"id":189,"doc_module":4,"doc_module_name":25,"category_name":192,"show_sort_weight":189,"slug":193},"World Cup","world-cup",{"id":140,"doc_module":4,"doc_module_name":25,"category_name":195,"show_sort_weight":140,"slug":196},"Lifestyle","lifestyle",{"id":198,"doc_module":4,"doc_module_name":25,"category_name":199,"show_sort_weight":116,"slug":200},19,"General","general",{"list":202,"token":11},[203,209,215,221,227,233,239,245,251,258],{"doc_id":204,"doc_title":205,"file_type":89,"home_preview_img_url":206,"slug":207,"view_count":33,"category_name":29,"create_tm":208},685711,"Bootstrap 5 - Build fast, responsive sites with Bootstrap","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000182003/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=ReEMq71dQEt%2FxdZKsfa4xHiAf7o%3D","bootstrap-5-build-fast-responsive-sites-with-bootstrap",1794016941,{"doc_id":210,"doc_title":211,"file_type":89,"home_preview_img_url":212,"slug":213,"view_count":30,"category_name":29,"create_tm":214},685709,"Bootstrap in 24 Hours - Table of Contents - Getting Started to Customizing","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999688366/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=i8DIQjvIwo9jzEc61Yf8th7Zsyw%3D","bootstrap-in-24-hours-table-of-contents-getting-started-to-customizing",1794016934,{"doc_id":216,"doc_title":217,"file_type":89,"home_preview_img_url":218,"slug":219,"view_count":30,"category_name":29,"create_tm":220},685715,"Bootstrap CSS Framework - Lesson 1 - Introduction of Bootstrap CSS Framework","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999688381/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=TwJ5PqnpwKb2hmaPPG5IogzaOwU%3D","bootstrap-css-framework-lesson-1-introduction-of-bootstrap-css-framework",1794016950,{"doc_id":222,"doc_title":223,"file_type":89,"home_preview_img_url":224,"slug":225,"view_count":33,"category_name":29,"create_tm":226},681941,"HTML & CSS - Course Material - Hamburg Coding School - January 2022","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999293280/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=aETjJoxeqAYaDV1SN%2BZ6jARQf60%3D","html-css-course-material-hamburg-coding-school-january-2022",1793957200,{"doc_id":228,"doc_title":229,"file_type":89,"home_preview_img_url":230,"slug":231,"view_count":33,"category_name":29,"create_tm":232},685815,"Sams Teach Yourself HTML, CSS, and JavaScript All in One - Table of Contents","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000216029/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=thBFqGyT1mp%2B%2BXHut9Of7RXxlF8%3D","sams-teach-yourself-html-css-and-javascript-all-in-one-table-of-contents",1794018866,{"doc_id":234,"doc_title":235,"file_type":89,"home_preview_img_url":236,"slug":237,"view_count":30,"category_name":29,"create_tm":238},685706,"Bootstrap Cheat Sheet - Web development guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000181907/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=fnicjQ%2B%2ByxcSWeVTCJpIqg1sUmY%3D","bootstrap-cheat-sheet-web-development-guide",1794016930,{"doc_id":240,"doc_title":241,"file_type":89,"home_preview_img_url":242,"slug":243,"view_count":116,"category_name":29,"create_tm":244},703168,"Web Technologies in Business - Textbook","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012255352/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=nqFIP1UzwstKpoj3UkQy0tLxMzY%3D","web-technologies-in-business-textbook",1794561925,{"doc_id":246,"doc_title":247,"file_type":89,"home_preview_img_url":248,"slug":249,"view_count":30,"category_name":29,"create_tm":250},692285,"React Fundamentals - A Beginner’s Guide to JavaScript, TypeScript, HTML, and CSS","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003187007/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=%2BegknivEMQboSjvuSjBhA89FRMo%3D","react-fundamentals-a-beginners-guide-to-javascript-typescript-html-and-css",1794192415,{"doc_id":252,"doc_title":253,"file_type":89,"home_preview_img_url":254,"slug":255,"view_count":256,"category_name":29,"create_tm":257},489364,"HTML Email Guidelines - QS Email Campaign Requirements - Best Practices","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926994430/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=d794X8uFubL%2BD%2FScZy7GJRJpQ50%3D","html-email-guidelines-qs-email-campaign-requirements-best-practices",14,1790822454,{"doc_id":259,"doc_title":260,"file_type":89,"home_preview_img_url":261,"slug":262,"view_count":263,"category_name":29,"create_tm":264},40298,"Fundamentals of Web Programming Practical Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229795184666/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=QVMmw5t4MOaikyOYjnvW6OET9kU%3D","fundamentals-of-web-programming-practical-tutorial",41,1783309396]