mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-10 03:46:13 +01:00
b46f05a948
This commit includes all the needed workarounds and most changes from the main branch for everything to work, like: * removing empty lines in raw HTML that break output * read .browserslistrc, CSS variables from disk instead of duplicating it * using Hugo mounts * using Hugo for the docs CSS/JS * move ToC Sass code to a separate file while adapting it for Hugo Thus, this patch makes our npm scripts faster since lint runs on one step and there's no separate docs assets processing.
147 lines
7.0 KiB
HTML
147 lines
7.0 KiB
HTML
---
|
||
layout: examples
|
||
title: Product example
|
||
extra_css:
|
||
- "product.css"
|
||
---
|
||
|
||
<nav class="site-header sticky-top py-1">
|
||
<div class="container d-flex flex-column flex-md-row justify-content-between">
|
||
<a class="py-2" href="#" aria-label="Product">
|
||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="d-block mx-auto" role="img" viewBox="0 0 24 24" focusable="false"><title>Product</title><circle cx="12" cy="12" r="10"/><path d="M14.31 8l5.74 9.94M9.69 8h11.48M7.38 12l5.74-9.94M9.69 16L3.95 6.06M14.31 16H2.83m13.79-4l-5.74 9.94"/></svg>
|
||
</a>
|
||
<a class="py-2 d-none d-md-inline-block" href="#">Tour</a>
|
||
<a class="py-2 d-none d-md-inline-block" href="#">Product</a>
|
||
<a class="py-2 d-none d-md-inline-block" href="#">Features</a>
|
||
<a class="py-2 d-none d-md-inline-block" href="#">Enterprise</a>
|
||
<a class="py-2 d-none d-md-inline-block" href="#">Support</a>
|
||
<a class="py-2 d-none d-md-inline-block" href="#">Pricing</a>
|
||
<a class="py-2 d-none d-md-inline-block" href="#">Cart</a>
|
||
</div>
|
||
</nav>
|
||
|
||
<div class="position-relative overflow-hidden p-3 p-md-5 m-md-3 text-center bg-light">
|
||
<div class="col-md-5 p-lg-5 mx-auto my-5">
|
||
<h1 class="display-4 font-weight-normal">Punny headline</h1>
|
||
<p class="lead font-weight-normal">And an even wittier subheading to boot. Jumpstart your marketing efforts with this example based on Apple’s marketing pages.</p>
|
||
<a class="btn btn-outline-secondary" href="#">Coming soon</a>
|
||
</div>
|
||
<div class="product-device shadow-sm d-none d-md-block"></div>
|
||
<div class="product-device product-device-2 shadow-sm d-none d-md-block"></div>
|
||
</div>
|
||
|
||
<div class="d-md-flex flex-md-equal w-100 my-md-3 pl-md-3">
|
||
<div class="bg-dark mr-md-3 pt-3 px-3 pt-md-5 px-md-5 text-center text-white overflow-hidden">
|
||
<div class="my-3 py-3">
|
||
<h2 class="display-5">Another headline</h2>
|
||
<p class="lead">And an even wittier subheading.</p>
|
||
</div>
|
||
<div class="bg-light shadow-sm mx-auto" style="width: 80%; height: 300px; border-radius: 21px 21px 0 0;"></div>
|
||
</div>
|
||
<div class="bg-light mr-md-3 pt-3 px-3 pt-md-5 px-md-5 text-center overflow-hidden">
|
||
<div class="my-3 p-3">
|
||
<h2 class="display-5">Another headline</h2>
|
||
<p class="lead">And an even wittier subheading.</p>
|
||
</div>
|
||
<div class="bg-dark shadow-sm mx-auto" style="width: 80%; height: 300px; border-radius: 21px 21px 0 0;"></div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="d-md-flex flex-md-equal w-100 my-md-3 pl-md-3">
|
||
<div class="bg-light mr-md-3 pt-3 px-3 pt-md-5 px-md-5 text-center overflow-hidden">
|
||
<div class="my-3 p-3">
|
||
<h2 class="display-5">Another headline</h2>
|
||
<p class="lead">And an even wittier subheading.</p>
|
||
</div>
|
||
<div class="bg-dark shadow-sm mx-auto" style="width: 80%; height: 300px; border-radius: 21px 21px 0 0;"></div>
|
||
</div>
|
||
<div class="bg-primary mr-md-3 pt-3 px-3 pt-md-5 px-md-5 text-center text-white overflow-hidden">
|
||
<div class="my-3 py-3">
|
||
<h2 class="display-5">Another headline</h2>
|
||
<p class="lead">And an even wittier subheading.</p>
|
||
</div>
|
||
<div class="bg-light shadow-sm mx-auto" style="width: 80%; height: 300px; border-radius: 21px 21px 0 0;"></div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="d-md-flex flex-md-equal w-100 my-md-3 pl-md-3">
|
||
<div class="bg-light mr-md-3 pt-3 px-3 pt-md-5 px-md-5 text-center overflow-hidden">
|
||
<div class="my-3 p-3">
|
||
<h2 class="display-5">Another headline</h2>
|
||
<p class="lead">And an even wittier subheading.</p>
|
||
</div>
|
||
<div class="bg-white shadow-sm mx-auto" style="width: 80%; height: 300px; border-radius: 21px 21px 0 0;"></div>
|
||
</div>
|
||
<div class="bg-light mr-md-3 pt-3 px-3 pt-md-5 px-md-5 text-center overflow-hidden">
|
||
<div class="my-3 py-3">
|
||
<h2 class="display-5">Another headline</h2>
|
||
<p class="lead">And an even wittier subheading.</p>
|
||
</div>
|
||
<div class="bg-white shadow-sm mx-auto" style="width: 80%; height: 300px; border-radius: 21px 21px 0 0;"></div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="d-md-flex flex-md-equal w-100 my-md-3 pl-md-3">
|
||
<div class="bg-light mr-md-3 pt-3 px-3 pt-md-5 px-md-5 text-center overflow-hidden">
|
||
<div class="my-3 p-3">
|
||
<h2 class="display-5">Another headline</h2>
|
||
<p class="lead">And an even wittier subheading.</p>
|
||
</div>
|
||
<div class="bg-white shadow-sm mx-auto" style="width: 80%; height: 300px; border-radius: 21px 21px 0 0;"></div>
|
||
</div>
|
||
<div class="bg-light mr-md-3 pt-3 px-3 pt-md-5 px-md-5 text-center overflow-hidden">
|
||
<div class="my-3 py-3">
|
||
<h2 class="display-5">Another headline</h2>
|
||
<p class="lead">And an even wittier subheading.</p>
|
||
</div>
|
||
<div class="bg-white shadow-sm mx-auto" style="width: 80%; height: 300px; border-radius: 21px 21px 0 0;"></div>
|
||
</div>
|
||
</div>
|
||
|
||
<footer class="container py-5">
|
||
<div class="row">
|
||
<div class="col-12 col-md">
|
||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="d-block mb-2" role="img" viewBox="0 0 24 24" focusable="false"><title>Product</title><circle cx="12" cy="12" r="10"/><path d="M14.31 8l5.74 9.94M9.69 8h11.48M7.38 12l5.74-9.94M9.69 16L3.95 6.06M14.31 16H2.83m13.79-4l-5.74 9.94"/></svg>
|
||
<small class="d-block mb-3 text-muted">© 2017-{{< year >}}</small>
|
||
</div>
|
||
<div class="col-6 col-md">
|
||
<h5>Features</h5>
|
||
<ul class="list-unstyled text-small">
|
||
<li><a class="text-muted" href="#">Cool stuff</a></li>
|
||
<li><a class="text-muted" href="#">Random feature</a></li>
|
||
<li><a class="text-muted" href="#">Team feature</a></li>
|
||
<li><a class="text-muted" href="#">Stuff for developers</a></li>
|
||
<li><a class="text-muted" href="#">Another one</a></li>
|
||
<li><a class="text-muted" href="#">Last time</a></li>
|
||
</ul>
|
||
</div>
|
||
<div class="col-6 col-md">
|
||
<h5>Resources</h5>
|
||
<ul class="list-unstyled text-small">
|
||
<li><a class="text-muted" href="#">Resource</a></li>
|
||
<li><a class="text-muted" href="#">Resource name</a></li>
|
||
<li><a class="text-muted" href="#">Another resource</a></li>
|
||
<li><a class="text-muted" href="#">Final resource</a></li>
|
||
</ul>
|
||
</div>
|
||
<div class="col-6 col-md">
|
||
<h5>Resources</h5>
|
||
<ul class="list-unstyled text-small">
|
||
<li><a class="text-muted" href="#">Business</a></li>
|
||
<li><a class="text-muted" href="#">Education</a></li>
|
||
<li><a class="text-muted" href="#">Government</a></li>
|
||
<li><a class="text-muted" href="#">Gaming</a></li>
|
||
</ul>
|
||
</div>
|
||
<div class="col-6 col-md">
|
||
<h5>About</h5>
|
||
<ul class="list-unstyled text-small">
|
||
<li><a class="text-muted" href="#">Team</a></li>
|
||
<li><a class="text-muted" href="#">Locations</a></li>
|
||
<li><a class="text-muted" href="#">Privacy</a></li>
|
||
<li><a class="text-muted" href="#">Terms</a></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</footer>
|