diff options
author | Mario <mario@mariovavti.com> | 2021-11-09 09:10:19 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-11-09 09:10:19 +0000 |
commit | fe7ecede700fe04631d23f36473e697ce2b364dc (patch) | |
tree | e713fc39dba500a25cb2acf8561e286fb8b41ff0 /vendor/twbs/bootstrap/site/content/docs/5.1/examples/masonry/index.html | |
parent | 42de18d96d201d74e5df3ed1b8f6132cb00357b6 (diff) | |
parent | 089708ab9f90309a0c27ae633cf8f2604fce1170 (diff) | |
download | volse-hubzilla-fe7ecede700fe04631d23f36473e697ce2b364dc.tar.gz volse-hubzilla-fe7ecede700fe04631d23f36473e697ce2b364dc.tar.bz2 volse-hubzilla-fe7ecede700fe04631d23f36473e697ce2b364dc.zip |
Merge branch '6.4RC'6.4
Diffstat (limited to 'vendor/twbs/bootstrap/site/content/docs/5.1/examples/masonry/index.html')
-rw-r--r-- | vendor/twbs/bootstrap/site/content/docs/5.1/examples/masonry/index.html | 105 |
1 files changed, 105 insertions, 0 deletions
diff --git a/vendor/twbs/bootstrap/site/content/docs/5.1/examples/masonry/index.html b/vendor/twbs/bootstrap/site/content/docs/5.1/examples/masonry/index.html new file mode 100644 index 000000000..9061d7cce --- /dev/null +++ b/vendor/twbs/bootstrap/site/content/docs/5.1/examples/masonry/index.html @@ -0,0 +1,105 @@ +--- +layout: examples +title: Masonry example +extra_js: + - src: "https://cdn.jsdelivr.net/npm/masonry-layout@4.2.2/dist/masonry.pkgd.min.js" + integrity: "sha384-GNFwBvfVxBkLMJpYMOABq3c+d3KnQxudP/mGPkzpZSTYykLBNsZEnG2D9G/X/+7D" + async: true +--- + +<main class="container py-5"> + <h1>Bootstrap and Masonry</h1> + <p class="lead">Integrate <a href="https://masonry.desandro.com/">Masonry</a> with the Bootstrap grid system and cards component.</p> + + <p>Masonry is not included in Bootstrap. Add it by including the JavaScript plugin manually, or using a CDN like so:</p> + + <pre><code> +<script src="https://cdn.jsdelivr.net/npm/masonry-layout@4.2.2/dist/masonry.pkgd.min.js" integrity="sha384-GNFwBvfVxBkLMJpYMOABq3c+d3KnQxudP/mGPkzpZSTYykLBNsZEnG2D9G/X/+7D" crossorigin="anonymous" async></script> + </code></pre> + + <p>By adding <code>data-masonry='{"percentPosition": true }'</code> to the <code>.row</code> wrapper, we can combine the powers of Bootstrap's responsive grid and Masonry's positioning.</p> + + <hr class="my-5"> + + <div class="row" data-masonry='{"percentPosition": true }'> + <div class="col-sm-6 col-lg-4 mb-4"> + <div class="card"> + {{< placeholder width="100%" height="200" class="card-img-top" text="Image cap" >}} + <div class="card-body"> + <h5 class="card-title">Card title that wraps to a new line</h5> + <p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p> + </div> + </div> + </div> + <div class="col-sm-6 col-lg-4 mb-4"> + <div class="card p-3"> + <figure class="p-3 mb-0"> + <blockquote class="blockquote"> + <p>A well-known quote, contained in a blockquote element.</p> + </blockquote> + <figcaption class="blockquote-footer mb-0 text-muted"> + Someone famous in <cite title="Source Title">Source Title</cite> + </figcaption> + </figure> + </div> + </div> + <div class="col-sm-6 col-lg-4 mb-4"> + <div class="card"> + {{< placeholder width="100%" height="200" class="card-img-top" text="Image cap" >}} + <div class="card-body"> + <h5 class="card-title">Card title</h5> + <p class="card-text">This card has supporting text below as a natural lead-in to additional content.</p> + <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p> + </div> + </div> + </div> + <div class="col-sm-6 col-lg-4 mb-4"> + <div class="card bg-primary text-white text-center p-3"> + <figure class="mb-0"> + <blockquote class="blockquote"> + <p>A well-known quote, contained in a blockquote element.</p> + </blockquote> + <figcaption class="blockquote-footer mb-0 text-white"> + Someone famous in <cite title="Source Title">Source Title</cite> + </figcaption> + </figure> + </div> + </div> + <div class="col-sm-6 col-lg-4 mb-4"> + <div class="card text-center"> + <div class="card-body"> + <h5 class="card-title">Card title</h5> + <p class="card-text">This card has a regular title and short paragraph of text below it.</p> + <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p> + </div> + </div> + </div> + <div class="col-sm-6 col-lg-4 mb-4"> + <div class="card"> + {{< placeholder width="100%" height="260" class="card-img" text="Card image" >}} + </div> + </div> + <div class="col-sm-6 col-lg-4 mb-4"> + <div class="card p-3 text-end"> + <figure class="mb-0"> + <blockquote class="blockquote"> + <p>A well-known quote, contained in a blockquote element.</p> + </blockquote> + <figcaption class="blockquote-footer mb-0 text-muted"> + Someone famous in <cite title="Source Title">Source Title</cite> + </figcaption> + </figure> + </div> + </div> + <div class="col-sm-6 col-lg-4 mb-4"> + <div class="card"> + <div class="card-body"> + <h5 class="card-title">Card title</h5> + <p class="card-text">This is another card with title and supporting text below. This card has some additional content to make it slightly taller overall.</p> + <p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p> + </div> + </div> + </div> + </div> + +</main> |