Home >Web Front-end >JS Tutorial >JavaScript Strengthening Tutorial—Bootstrap
Introduction to Bootstrap
What is Bootstrap?
Bootstrap is a front-end framework for rapid development of web applications and websites. Bootstrap is based on HTML, CSS, and JAVASCRIPT.
History
Bootstrap was developed by Mark Otto and Jacob Thornton of Twitter. Bootstrap is an open source product released on GitHub in August 2011.
Why use Bootstrap?
Mobile-first: Starting with Bootstrap 3, the framework includes mobile-first styles throughout the library.
Browser support: All major browsers support Bootstrap.
Internet Explorer Firefox Opera Google Chrome Safari
Easy to get started: As long as you have basic knowledge of HTML and CSS, you can start learning Bootstrap.
Responsive design: Bootstrap’s responsive CSS can adapt to desktops, tablets, and mobile phones. For more information about responsive design, see Bootstrap Responsive Design.
Responsive Design
It provides developers with a simple and unified solution for creating interfaces.
It contains powerful built-in components and is easy to customize.
It also provides web-based customization.
It is open source.
Contents of Bootstrap package
Basic structure: Bootstrap provides a basic structure with a grid system, link styles, and backgrounds. This will be explained in detail in the Bootstrap basic structure section.
CSS: Bootstrap comes with the following features: global CSS settings, defining basic HTML element styles, extensible classes, and an advanced grid system. This will be explained in detail in the Bootstrap CSS section.
Components: Bootstrap contains more than a dozen reusable components for creating images, drop-down menus, navigation, alert boxes, pop-up boxes, and more. This will be explained in detail in the Layout Components section.
JavaScript plugins: Bootstrap includes more than a dozen custom jQuery plugins. You can include all plug-ins directly or include them individually. This will be explained in detail in the Bootstrap plugin section.
Customization: You can customize Bootstrap components, LESS variables, and jQuery plugins to get your own version.
Online Examples
The Bootstrap tutorial on this site contains hundreds of examples.
You can edit the code online using our online editor and click the run button to see the results.
Bootstrap example
<div class="container"> <div class="jumbotron"> <h1>我的第一个 Bootstrap 页面</h1> <p>重置窗口大小,查看响应式效果!</p> </div> <div class="row"> <div class="col-sm-4"> <h3>Column 1</h3> <p>学的不仅是技术,更是梦想!</p> <p>再牛逼的梦想,也抵不住你傻逼似的坚持!</p> </div> <div class="col-sm-4"> <h3>Column 2</h3> <p>学的不仅是技术,更是梦想!</p> <p>再牛逼的梦想,也抵不住你傻逼似的坚持!</p> </div> <div class="col-sm-4"> <h3>Column 3</h3> <p>学的不仅是技术,更是梦想!</p> <p>再牛逼的梦想,也抵不住你傻逼似的坚持!</p> </div> </div></div>
© Copyright belongs to the author