Add kitchen sink to demo the changes one can make to Bootstrap
This commit is contained in:
Родитель
ace69a3dcd
Коммит
6090306f69
304
index.html
304
index.html
|
@ -42,5 +42,309 @@
|
|||
<p>Those just getting started with Bootstrap and npm may wish to build on this project's <code>package.json</code> by adding new dependencies and scripts. Please do!</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="p-3 p-md-5 border-bottom">
|
||||
<h2>Grid</h2>
|
||||
<p>Nothing special here, just container, row, and columns.</p>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-sm py-3 bg-light border">
|
||||
One of three columns
|
||||
</div>
|
||||
<div class="col-sm py-3 bg-light border">
|
||||
One of three columns
|
||||
</div>
|
||||
<div class="col-sm py-3 bg-light border">
|
||||
One of three columns
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Type</h2>
|
||||
<div class="row">
|
||||
<div class="col-md">
|
||||
<h3>Unordered list</h3>
|
||||
<ul>
|
||||
<li>Lorem ipsum dolor sit amet</li>
|
||||
<li>Consectetur adipiscing elit</li>
|
||||
<li>Integer molestie lorem at massa</li>
|
||||
<li>Facilisis in pretium nisl aliquet</li>
|
||||
<li>Nulla volutpat aliquam velit
|
||||
<ul>
|
||||
<li>Phasellus iaculis neque</li>
|
||||
<li>Purus sodales ultricies</li>
|
||||
<li>Vestibulum laoreet porttitor sem</li>
|
||||
<li>Ac tristique libero volutpat at</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Faucibus porta lacus fringilla vel</li>
|
||||
<li>Aenean sit amet erat nunc</li>
|
||||
<li>Eget porttitor lorem</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-md">
|
||||
<h3>Ordered list</h3>
|
||||
<ol>
|
||||
<li>Lorem ipsum dolor sit amet</li>
|
||||
<li>Consectetur adipiscing elit</li>
|
||||
<li>Integer molestie lorem at massa</li>
|
||||
<li>Facilisis in pretium nisl aliquet</li>
|
||||
<li>Nulla volutpat aliquam velit</li>
|
||||
<li>Faucibus porta lacus fringilla vel</li>
|
||||
<li>Aenean sit amet erat nunc</li>
|
||||
<li>Eget porttitor lorem</li>
|
||||
</ol>
|
||||
</div>
|
||||
<div class="col-md">
|
||||
<h3>Description list</h3>
|
||||
<dl>
|
||||
<dt>Description lists</dt>
|
||||
<dd>A description list is perfect for defining terms.</dd>
|
||||
<dt>Euismod</dt>
|
||||
<dd>Vestibulum id ligula porta felis euismod semper eget lacinia odio sem.</dd>
|
||||
<dd>Donec id elit non mi porta gravida at eget metus.</dd>
|
||||
<dt>Malesuada porta</dt>
|
||||
<dd>Etiam porta sem malesuada magna mollis euismod.</dd>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3>Tables</h3>
|
||||
<table>
|
||||
<caption>
|
||||
This is an example table, and this is its caption to describe the contents.
|
||||
</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Table heading</th>
|
||||
<th>Table heading</th>
|
||||
<th>Table heading</th>
|
||||
<th>Table heading</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Table cell</td>
|
||||
<td>Table cell</td>
|
||||
<td>Table cell</td>
|
||||
<td>Table cell</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Table cell</td>
|
||||
<td>Table cell</td>
|
||||
<td>Table cell</td>
|
||||
<td>Table cell</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Table cell</td>
|
||||
<td>Table cell</td>
|
||||
<td>Table cell</td>
|
||||
<td>Table cell</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<h3>Code</h3>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Media</h2>
|
||||
|
||||
<h3>Images</h3>
|
||||
|
||||
<h3>Figures</h3>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Alert</h2>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="alert alert-primary" role="alert">
|
||||
A simple primary alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
|
||||
</div>
|
||||
<div class="alert alert-secondary" role="alert">
|
||||
A simple secondary alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
|
||||
</div>
|
||||
<div class="alert alert-success" role="alert">
|
||||
A simple success alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
|
||||
</div>
|
||||
<div class="alert alert-danger" role="alert">
|
||||
A simple danger alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="alert alert-warning" role="alert">
|
||||
A simple warning alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
|
||||
</div>
|
||||
<div class="alert alert-info" role="alert">
|
||||
A simple info alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
|
||||
</div>
|
||||
<div class="alert alert-light" role="alert">
|
||||
A simple light alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
|
||||
</div>
|
||||
<div class="alert alert-dark" role="alert">
|
||||
A simple dark alert with <a href="#" class="alert-link">an example link</a>. Give it a click if you like.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Badge</h2>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="mb-3">
|
||||
<div class="h1">Example heading <span class="badge badge-secondary">New</span></div>
|
||||
<div class="h2">Example heading <span class="badge badge-secondary">New</span></div>
|
||||
<div class="h3">Example heading <span class="badge badge-secondary">New</span></div>
|
||||
<div class="h4">Example heading <span class="badge badge-secondary">New</span></div>
|
||||
<div class="h5">Example heading <span class="badge badge-secondary">New</span></div>
|
||||
<div class="h6">Example heading <span class="badge badge-secondary">New</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<button type="button" class="btn btn-primary">
|
||||
Notifications <span class="badge badge-light">4</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Breadcrumb</h2>
|
||||
<div class="row">
|
||||
<div class="col-md mb-3">
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item active" aria-current="page">Home</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="col-md mb-3">
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="#">Home</a></li>
|
||||
<li class="breadcrumb-item active" aria-current="page">Library</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
<div class="col-md mb-3">
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="#">Home</a></li>
|
||||
<li class="breadcrumb-item"><a href="#">Library</a></li>
|
||||
<li class="breadcrumb-item active" aria-current="page">Data</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Buttons</h2>
|
||||
<div class="mb-3">
|
||||
<button type="button" class="btn btn-primary">Primary</button>
|
||||
<button type="button" class="btn btn-secondary">Secondary</button>
|
||||
<button type="button" class="btn btn-success">Success</button>
|
||||
<button type="button" class="btn btn-danger">Danger</button>
|
||||
<button type="button" class="btn btn-warning">Warning</button>
|
||||
<button type="button" class="btn btn-info">Info</button>
|
||||
<button type="button" class="btn btn-light">Light</button>
|
||||
<button type="button" class="btn btn-dark">Dark</button>
|
||||
<button type="button" class="btn btn-link">Link</button>
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<button type="button" class="btn btn-outline-primary">Primary</button>
|
||||
<button type="button" class="btn btn-outline-secondary">Secondary</button>
|
||||
<button type="button" class="btn btn-outline-success">Success</button>
|
||||
<button type="button" class="btn btn-outline-danger">Danger</button>
|
||||
<button type="button" class="btn btn-outline-warning">Warning</button>
|
||||
<button type="button" class="btn btn-outline-info">Info</button>
|
||||
<button type="button" class="btn btn-outline-light">Light</button>
|
||||
<button type="button" class="btn btn-outline-dark">Dark</button>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md mb-3">
|
||||
<div class="mb-3">
|
||||
<button type="button" class="btn btn-primary btn-lg btn-block">Block level button</button>
|
||||
<button type="button" class="btn btn-secondary btn-lg btn-block">Block level button</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md mb-3">
|
||||
<div class="mb-3">
|
||||
<button type="button" class="btn btn-primary btn-lg">Large button</button>
|
||||
<button type="button" class="btn btn-secondary btn-lg">Large button</button>
|
||||
</div>
|
||||
<button type="button" class="btn btn-primary btn-sm">Small button</button>
|
||||
<button type="button" class="btn btn-secondary btn-sm">Small button</button>
|
||||
</div>
|
||||
<div class="col-md mb-3">
|
||||
<div class="btn-group" role="group" aria-label="Basic example">
|
||||
<button type="button" class="btn btn-secondary">Left</button>
|
||||
<button type="button" class="btn btn-secondary">Middle</button>
|
||||
<button type="button" class="btn btn-secondary">Right</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Card</h2>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Carousel</h2>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Collapse</h2>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Dropdown</h2>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Forms</h2>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Input group</h2>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Jumbotron</h2>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>List group</h2>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Modal</h2>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Navs</h2>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Navbar</h2>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Pagination</h2>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Popover & Tooltip</h2>
|
||||
</div>
|
||||
|
||||
<div class="p-5 border-bottom">
|
||||
<h2>Progress</h2>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Загрузка…
Ссылка в новой задаче