123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- Thumbnails
- ===============================================================================
- .. lead:: Extend Bootstrap's grid system with the thumbnail component to easily
- display grids of images, videos, text, and more.
- Default example
- ---------------
- By default, Bootstrap's thumbnails are designed to showcase linked images with
- minimal required markup.
- .. container:: bs-example
- .. row::
- .. column::
- :width: 3
- .. image:: 171x180.png
- :class: thumbnail
- .. column::
- :width: 3
- .. image:: 171x180.png
- :class: thumbnail
- .. column::
- :width: 3
- .. image:: 171x180.png
- :class: thumbnail
- .. column::
- :width: 3
- .. image:: 171x180.png
- :class: thumbnail
- .. code::
- :class: highlight
- .. column::
- :width: 3
- .. image:: 171x180.png
- :class: thumbnail
- .. column::
- :width: 3
- .. image:: 171x180.png
- :class: thumbnail
- .. column::
- :width: 3
- .. image:: 171x180.png
- :class: thumbnail
- .. column::
- :width: 3
- .. image:: 171x180.png
- :class: thumbnail
- Custom content
- --------------
- With a bit of extra markup, it's possible to add any kind of HTML content like
- headings, paragraphs, or buttons into thumbnails.
- .. container:: bs-example
- .. row::
- .. column::
- :width: 4
- .. thumbnail::
- .. image:: 300x200.png
- .. caption::
- :h3:`Thumbnail label`
- Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec
- id elit non mi porta gravida at eget metus. Nullam id dolor id nibh
- ultricies vehicula ut id elit.
- .. button:: Button
- :class: primary
- .. button:: Button
- .. column::
- :width: 4
- .. thumbnail::
- .. image:: 300x200.png
- .. caption::
- :h3:`Thumbnail label`
- Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec
- id elit non mi porta gravida at eget metus. Nullam id dolor id nibh
- ultricies vehicula ut id elit.
- .. button:: Button
- :class: primary
- .. button:: Button
- .. column::
- :width: 4
- .. thumbnail::
- .. image:: 300x200.png
- .. caption::
- :h3:`Thumbnail label`
- Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec
- id elit non mi porta gravida at eget metus. Nullam id dolor id nibh
- ultricies vehicula ut id elit.
- .. button:: Button
- :class: primary
- .. button:: Button
- .. code::
- :class: highlight
- .. thumbnail::
- .. image:: 300x200.png
- .. caption::
- :h3:`Thumbnail label`
- Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec
- id elit non mi porta gravida at eget metus. Nullam id dolor id nibh
- ultricies vehicula ut id elit.
- .. button:: Button
- :class: primary
- .. button:: Button
|