Bootstrap Thumbnail
The bootstrap thumbnail component to easily display grids of images, videos, text, and more.
Default Thumbnail
Bootstrap default thumbnails are designed to showcase linked images with minimal required markup.
<!DOCTYPE html>
<html>
<head>
   <title>Default Thumbnail</title>
   <meta name="viewport" content="width=device-width,initial-scale=1">
   <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
   <script type="text/javascript" src="js/jquery.min.js"></script>
   <script type="text/javascript" src="js/bootstrap.min.js"></script>
</head>
<body>
 
<div class="container-fluid">
 
  <div class="col-xs-12 col-sm-6 col-md-3">
      <a href="#" class="thumbnail">
         <img src="images/img-responsive.jpg" alt ="Default Thumbnail">
      </a>
   </div>
   <div class="col-xs-12 col-sm-6 col-md-3">
      <a href="#" class="thumbnail">
         <img src="images/img-responsive.jpg" alt ="Default Thumbnail">
      </a>
   </div>
   <div class="col-xs-12 col-sm-6 col-md-3">
      <a href="#" class="thumbnail">
         <img src="images/img-responsive.jpg" alt ="Default Thumbnail">
      </a>
   </div>
   <div class="col-xs-12 col-sm-6 col-md-3">
      <a href="#" class="thumbnail">
         <img src="images/img-responsive.jpg" alt ="Default Thumbnail">
      </a>
   </div>
 
</div>
 
</body>
</html>
 
Output :
Default Thumbnail
Content Thumbnail
The basic bootstrap content thumbnail it's possible to add any kind of HTML content like headings, paragraphs, or buttons intothumbnails. Follow the steps below.
<!DOCTYPE html>
<html>
<head>
   <title>Content Thumbnail</title>
   <meta name="viewport" content="width=device-width,initial-scale=1">
   <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
   <script type="text/javascript" src="js/jquery.min.js"></script>
   <script type="text/javascript" src="js/bootstrap.min.js"></script>
</head>
<body>
 
<div class="container-fluid">
 
  <div class="col-xs-12 col-sm-6 col-md-3">
     <div class="thumbnail">
      <img src="images/img-responsive-2.jpg" alt="content thumbnail">
      <div class="caption">
        <h3>Free Time Learning</h3>
        <p>Lorem Ipsum is simply dummy text of the printing
        and typesetting industry. Lorem Ipsum has been the 
        industry's standard dummy text.</p>
        <p><a href="#" class="btn btn-primary" role="button">
        Submit</a> <a href="#" class="btn btn-warning" role="button">
        Read More </a></p>
      </div>
    </div>
   </div>
   
   <div class="col-xs-12 col-sm-6 col-md-3">
      <div class="thumbnail">
      <img src="images/img-responsive-2.jpg" alt="content thumbnail">
      <div class="caption">
        <h3>Free Time Learning</h3>
        <p>Lorem Ipsum is simply dummy text of the printing
        and typesetting industry. Lorem Ipsum has been the 
        industry's standard dummy text.</p>
        <p><a href="#" class="btn btn-primary" role="button">
        Submit</a> <a href="#" class="btn btn-warning" role="button">
        Read More </a></p>
      </div>
    </div>
   </div>
   
   <div class="col-xs-12 col-sm-6 col-md-3">
      <div class="thumbnail">
      <img src="images/img-responsive-2.jpg" alt="content thumbnail">
      <div class="caption">
        <h3>Free Time Learning</h3>
        <p>Lorem Ipsum is simply dummy text of the printing
         and typesetting industry. Lorem Ipsum has been the
         industry's standard dummy text.</p>
        <p><a href="#" class="btn btn-primary" role="button">
        Submit</a> <a href="#" class="btn btn-warning" role="button">
        Read More </a></p>
      </div>
    </div>
   </div>
   
   <div class="col-xs-12 col-sm-6 col-md-3">
      <div class="thumbnail">
      <img src="images/img-responsive-2.jpg" alt="content thumbnail">
      <div class="caption">
        <h3>Free Time Learning</h3>
        <p>Lorem Ipsum is simply dummy text of the printing
        and typesetting industry. Lorem Ipsum has been the industry's
        standard dummy text.</p>
        <p><a href="#" class="btn btn-primary" role="button">
        Submit</a> <a href="#" class="btn btn-warning" role="button">
        Read More </a></p>
      </div>
    </div>
   </div>
 
</div>
 
</body>
</html>
Output :
Content Thumbnail