mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
parent
6faa260f84
commit
85032786c3
@ -12,7 +12,7 @@ A lightweight, flexible component that can optionally extend the entire viewport
|
||||
<div class="jumbotron">
|
||||
<h1 class="display-3">Hello, world!</h1>
|
||||
<p class="lead">This is a simple hero unit, a simple jumbotron-style component for calling extra attention to featured content or information.</p>
|
||||
<hr class="m-y-md">
|
||||
<hr class="m-y-2">
|
||||
<p>It uses utility classes for typography and spacing to space content out within the larger container.</p>
|
||||
<p class="lead">
|
||||
<a class="btn btn-primary btn-lg" href="#" role="button">Learn more</a>
|
||||
|
@ -241,7 +241,7 @@ Our collapse plugin allows you to use a `<button>` or `<a>` to toggle hidden con
|
||||
|
||||
{% example html %}
|
||||
<div class="collapse" id="exCollapsingNavbar">
|
||||
<div class="bg-inverse p-a">
|
||||
<div class="bg-inverse p-a-1">
|
||||
<h4>Collapsed content</h4>
|
||||
<span class="text-muted">Toggleable via the navbar brand.</span>
|
||||
</div>
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
<div class="pos-f-t">
|
||||
<div class="collapse" id="navbar-header">
|
||||
<div class="container-fluid bg-inverse p-a">
|
||||
<div class="container-fluid bg-inverse p-a-1">
|
||||
<h3>Collapsed content</h3>
|
||||
<p>Toggleable via the navbar brand.</p>
|
||||
</div>
|
||||
|
@ -20,12 +20,12 @@
|
||||
<body>
|
||||
|
||||
<div class="collapse" id="navbar-header">
|
||||
<div class="container-fluid bg-inverse p-a">
|
||||
<div class="container-fluid bg-inverse p-a-1">
|
||||
<h3>Collapsed content</h3>
|
||||
<p>Toggleable via the navbar brand.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navbar navbar-light bg-faded navbar-static-top m-b">
|
||||
<div class="navbar navbar-light bg-faded navbar-static-top m-b-1">
|
||||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-header">
|
||||
☰
|
||||
</button>
|
||||
|
@ -23,7 +23,7 @@
|
||||
<!-- Fixed navbar -->
|
||||
<div class="pos-f-t">
|
||||
<div class="collapse" id="navbar-header">
|
||||
<div class="container bg-inverse p-a">
|
||||
<div class="container bg-inverse p-a-1">
|
||||
<h3>Collapsed content</h3>
|
||||
<p>Toggleable via the navbar brand.</p>
|
||||
</div>
|
||||
@ -56,7 +56,7 @@
|
||||
|
||||
<!-- Begin page content -->
|
||||
<div class="container">
|
||||
<div class="page-header m-t">
|
||||
<div class="page-header m-t-1">
|
||||
<h1>Sticky footer with fixed navbar</h1>
|
||||
</div>
|
||||
<p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS. A fixed navbar has been added with <code>padding-top: 60px;</code> on the <code>body > .container</code>.</p>
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
<!-- Begin page content -->
|
||||
<div class="container">
|
||||
<div class="page-header m-t">
|
||||
<div class="page-header m-t-1">
|
||||
<h1>Sticky footer</h1>
|
||||
</div>
|
||||
<p class="lead">Pin a fixed-height footer to the bottom of the viewport in desktop browsers with this custom HTML and CSS.</p>
|
||||
|
@ -6,7 +6,7 @@ group: getting-started
|
||||
|
||||
**Bootstrap v{{ site.current_version}}** is available for download in several ways, including some of your favorite package managers. Choose from the options below to snag just what you need.
|
||||
|
||||
<div class="row m-t-md">
|
||||
<div class="row m-t-2">
|
||||
<div class="col-sm-6">
|
||||
{% markdown %}
|
||||
### Compiled
|
||||
|
@ -21,14 +21,14 @@ title: Bootstrap · The world's most popular mobile-first and responsive f
|
||||
<p class="lead">Quickly include Bootstrap's CSS and JS into any project. Use your favorite package manager, download the source, or use the Bootstrap CDN.</p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-6 m-b-lg">
|
||||
<div class="col-sm-6 m-b-3">
|
||||
<h4>Managed dependencies</h4>
|
||||
<p>Include Bootstrap's source Sass and JavaScript files via Bower, Composer, Meteor, or npm. Package managed installs don't include documentation, but do include our Gruntfile and readme.</p>
|
||||
<p>
|
||||
<a class="btn btn-bs btn-outline" href="{{ site.baseurl }}/getting-started/download/#package-managers">View install methods</a>
|
||||
</p>
|
||||
</div>
|
||||
<div class="col-sm-6 m-b-lg">
|
||||
<div class="col-sm-6 m-b-3">
|
||||
<h4>Bootstrap CDN</h4>
|
||||
<p>When you just need to include Bootstrap's compiled CSS and JS, use the Bootstrap CDN, free from the Max CDN folks.</p>
|
||||
{% highlight html %}
|
||||
@ -52,17 +52,17 @@ title: Bootstrap · The world's most popular mobile-first and responsive f
|
||||
<p class="lead">Bootstrap makes front-end web development faster and easier. It's made for folks of all skill levels, devices of all shapes, and projects of all sizes.</p>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-4 m-b-lg">
|
||||
<div class="col-sm-4 m-b-3">
|
||||
<img src="assets/img/sass.png" alt="Sass support" class="img-fluid">
|
||||
<h4>Preprocessor</h4>
|
||||
<p>Bootstrap ships with vanilla CSS, but its source code utilizes <a href="http://sass-lang.com/">Sass</a>, a popular CSS preprocessor. Quickly get started with precompiled CSS or build on the source.</p>
|
||||
</div>
|
||||
<div class="col-sm-4 m-b-lg">
|
||||
<div class="col-sm-4 m-b-3">
|
||||
<img src="assets/img/devices.png" alt="Responsive across devices" class="img-fluid">
|
||||
<h4>One framework, every device.</h4>
|
||||
<p>Bootstrap easily and efficiently scales your websites and applications with a single code base, from phones to tablets to desktops with CSS media queries.</p>
|
||||
</div>
|
||||
<div class="col-sm-4 m-b-lg">
|
||||
<div class="col-sm-4 m-b-3">
|
||||
<img src="assets/img/components.png" alt="Components" class="img-fluid">
|
||||
<h4>Full of features</h4>
|
||||
<p>With Bootstrap, you get extensive and beautiful documentation for common HTML elements, dozens of custom HTML and CSS components, and awesome jQuery plugins.</p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user