Powerful, extensible, and feature-packed frontend toolkit. Build and customize with Sass, utilize prebuilt grid system and components, and bring projects to life with powerful JavaScript plugins.
Get base styles and flexible support for collapsible components like accordions and navigation. * Requires the Transitions plugin to be included. Example accordion Using the collapse plugin, we built a simple accordion style widget: Collapsible Group Item #1 Anim pariatur cliche reprehenderit, enim ...
代码语言:javascript 复制 ... 标头 在任何下拉菜单中添加一个标题来标记操作的部分。 打开getbootstrap.com上的示例 代码语言:javascript 复制 ... Dropdown header ... 分频器 在下拉菜单中添加一个分隔符来分隔一系列链接。 打开getbootstrap.com上的示例 代码语言:javascript 复制 ... ... <...
Bootstrap 4 uses jQuery and Popper.js for JavaScript components (like modals, tooltips, popovers etc). However, if you just use the CSS part of Bootstrap, you don't need them. Show components that require jQuery » Downloading Bootstrap 4...
依赖JavaScript 插件 如果JavaScript 被禁用,并且视口(viewport)足够窄,致使导航条折叠起来,导航条将不能被打开,.navbar-collapse 内所包含的内容也将不可见。 响应式导航条依赖 collapse 插件,定制 Bootstrap 的话时候必将其包含。 修改视口的阈值,从而影响导航条的排列模式 当浏览器视口(viewport)的宽度小于 @grid-...
前言 一、框架体系 Bootstrap 是基于 HTML5、CSS3、JAVASCRIPT。 教程被分为: Bootstrap 基本结构、 Bootstrap CSS、 Bootstrap 布局组件 Bootstrap 插件 Bootstrap 基本结构、 Bootstrap CSS、 Bootst
Customize the navbar and carousel, then add some new components. 博客页面 简单的两列式博客布局,还包含了自定义的导航、页头、分类等元素。 控制台 包含基本结构的后台管理模板,还有固定的侧边栏和导航条。 登录页 自定义的表单布局以及经过简单设计的登录表单。
Show components requiring JavaScript Alerts for dismissing Buttons for toggling states and checkbox/radio functionality Carousel for all slide behaviors, controls, and indicators Collapse for toggling visibility of content Dropdowns for displaying and positioning (also requiresPopper) ...
Explore customized components Create and extend utilities Use Bootstrap's utility API to modify any of our included utilities or create your own custom utilities for any project. Import Bootstrap first, then use Sass map functions to modify, add, or remove utilities. ...
只有基本的东西:引入了预编译版的 CSS 和 JavaScript 文件,页面只包含了一个container元素。 Bootstrap 主题 加载可选的 Bootstrap 主题,获得增强的视觉体验。 栅格 多个关于栅格布局方面的实例,涉及到层级(tier)、嵌套(nesting)等等。 Jumbotron Build around the jumbotron with a navbar and some basic grid colu...