Bootstrap snippet and html example. Image Columns Bootstrap

Bootstrap 3.1.0 snippet "Image Columns Bootstrap" with HTML, CSS, and JS. Copy, paste, and customize this responsive UI component for your project.
Tags: Image,Columns

HTML code

Clean, semantic HTML that powers this Bootstrap 3.1.0 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.

<div class="container">
<h1>Image Columns</h1>

<div style="padding:0 15px;">
  <div class="row">
    <div class="col-xs-8 col-sm-4">
      <div class="img-thumbnail img1" alt="photo1"></div>  
    </div>
    <div class="col-xs-4 col-sm-8"> 
      <div class="row">
        <div class="col-sm-6">
          <div class="img-thumbnail img2" alt="photo2"></div>
        </div>
        <div class="col-sm-6">
          <div class="img-thumbnail img3" alt="photo3"></div>
        </div>
      </div>
    </div>
  </div>
</div>
</div>

CSS code

Scoped CSS that styles the component. Paste it after Bootstrap 3.1.0 to keep the design, spacing, and responsiveness consistent.

                        
body{margin-top:20px;}  
body {padding:20px;}
h1{ background: none repeat scroll 0 0 #5BC0DE; color:#fff!important; padding:10px 0; text-align:center; margin-bottom:20px!important;}
p.cr{font-size:0.75em; color:#666; background:#eee; padding:5px; margin-top:20px;}
p.cr > strong{color:#F1645E;}

.debug > .row > div {box-shadow: inset 1px -1px 1px #444, inset -1px 1px 1px #444;
}

.debug > .row > div:nth-child(3n+1) {background-color: #5F8EFC;}
.debug > .row > div:nth-child(3n+2) {background-color: #FEBA00;}
.debug > .row > div:nth-child(3n) {background-color: #F1645E;}
  
.img1{background:url(https://www.bootdey.com/image/400x300/FFB6C1/000000);width:400px;height:300px !important;}
.img2{background:url(https://www.bootdey.com/image/400x300/87CEFA/000000);width:400px;height:300px !important;}
.img3{background:url(https://www.bootdey.com/image/400x300/FF7F50/000000);width:400px;height:300px !important;}

Similar snippets

Bootstrap example and template. V card presentation

V card presentation

Bootstrap example and template. blog page

blog page

Bootstrap example and template. gallery with small images

gallery with small images

Bootstrap example and template. Team member cards

Team member cards

Bootstrap example and template. bs5 dark footer

bs5 dark footer

Bootstrap example and template. chat app

chat app

Bootstrap example and template. profile with data and skills

profile with data and skills

Bootstrap example and template. Social network clean feed list

Social network clean feed list

FAQ

How do I use this snippet?

Include Bootstrap 3.1.0, paste the HTML, add the CSS block, and include the JS (if any) to mirror the live preview.

Can I use it in commercial projects?

Yes. It’s free for personal and commercial work; check the snippets license for details.

Is it responsive?

Yes. It inherits the responsive grid and components from Bootstrap 3.1.0.

Bootstrap example and template. Image Columns Bootstrap

About this bootstrap example/template

Optimized for copy‑paste: clean HTML, scoped CSS, and minimal JS so you can ship production‑ready UI faster and keep designs consistent.

Mobile‑first and responsive by default. Tested across modern browsers to reduce polish time on your project.

Already trusted in 7.4K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.

Bootstrap 3.1.0

<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css'>

<script src='https://netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js'></script>

This code example is based on bootstrap 3.1.0 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working