mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-05 17:24:20 +01:00
333d89e498
* Drop .opacity-50 and .opacity-75 redefinition in examples * Drop unused .card-img-right from blog example CSS files * Use line-height utilities when possible * Use rounded-* utilities in examples * Replace .nav-underline by .nav-scroller and use it in examples.html default * Use .mb-1 for .blog-post-title * Remove unused CSS rule and use .fw-* utilities for carousels examples * Use utilities for cheatsheet examples * Extract some CSS to utilities for .nav-masthead .nav-link in cover example * Dashboard group of minor modifications * Dropdowns example: refactoring * Dropdowns example refactoring: fix linting by removing selector by id * Features example refactoring * Headers example refactoring * List groups example refactoring * Sidebars example refactoring * Sign-in example refactoring * Starter template refactoring * Fix RTL examples Co-authored-by: Mark Otto <markd.otto@gmail.com>
35 lines
1.2 KiB
HTML
35 lines
1.2 KiB
HTML
---
|
|
layout: examples
|
|
title: Cover Template
|
|
extra_css:
|
|
- "cover.css"
|
|
html_class: "h-100"
|
|
body_class: "d-flex h-100 text-center text-white bg-dark"
|
|
include_js: false
|
|
---
|
|
|
|
<div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
|
|
<header class="mb-auto">
|
|
<div>
|
|
<h3 class="float-md-start mb-0">Cover</h3>
|
|
<nav class="nav nav-masthead justify-content-center float-md-end">
|
|
<a class="nav-link fw-bold py-1 px-0 active" aria-current="page" href="#">Home</a>
|
|
<a class="nav-link fw-bold py-1 px-0" href="#">Features</a>
|
|
<a class="nav-link fw-bold py-1 px-0" href="#">Contact</a>
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
|
|
<main class="px-3">
|
|
<h1>Cover your page.</h1>
|
|
<p class="lead">Cover is a one-page template for building simple and beautiful home pages. Download, edit the text, and add your own fullscreen background photo to make it your own.</p>
|
|
<p class="lead">
|
|
<a href="#" class="btn btn-lg btn-secondary fw-bold border-white bg-white">Learn more</a>
|
|
</p>
|
|
</main>
|
|
|
|
<footer class="mt-auto text-white-50">
|
|
<p>Cover template for <a href="https://getbootstrap.com/" class="text-white">Bootstrap</a>, by <a href="https://twitter.com/mdo" class="text-white">@mdo</a>.</p>
|
|
</footer>
|
|
</div>
|