Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Bootstrap Thumbnails

Bootstrap Thumbnails

Introduction

In this tutorial, you will see how to create thumbnails with Bootstrap, i.e., grids of images, videos, and text.

Thumbnails have a simple and flexible markup. At the same time, you can use existing bootstrap css classes such as .span2 or .span3 to set the width and height of thumbnails.

Why Use Thumbnails

When creating user experiences on the Web, you often need to create a grid of images or videos. A good example is a company website that needs to display product images, where thumbnails may be used.

Default thumbnail example

Example

    

    


View the example online

You can customize the default thumbnail and add paragraphs, heading lists, or other types of HTML content.

Custom thumbnail example

Example

    

            

  •             

                    product 1

                    

                        

    Product detail

                        

    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore         magna aliqua.

                        

    Buy Try

                    

                

            

  •         

  •             

                    product 2

                    

                        

    Product detail

                        

    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

                        

    Buy Try

                    

                

            

  •     

    


    

        

© Company 2013

    

View the example online

Click here to download all the HTML, CSS, JS, and image files used in this tutorial.