Bootstrap snippet and html example. Blog image Gallery Widget

This html snippet was created to help web designers, web developers, front-end and back-end developer save time. Use it for free in your project and build your app faster, You can also download the HTML, CSS, and JS code.
Tags: widget,image,block,post

HTML code

This is the html code used to create this bootstrap snippet, You can copy and paste the following html code inside a page with bootstrap 3.3.4 included, to get the result that you can see in the preview selection

<div class="container bootstrap snippets bootdey">
    <div class="col-md-6">
        <div class="widget widget-gallery">
            <div class="widget-gallery-header">
                <h5>Latest Uploaded Image</h5>
                <p class="text-muted m-t-3">
                    last updated on 29 November 2015
                </p>
            </div>
            <ul class="widget-gallery-list clearfix">
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
            </ul>
        </div>
    </div>
    
    
    <div class="col-md-6">
        <div class="widget widget-gallery">
            <div class="widget-gallery-header">
                <h5>Latest Uploaded Image</h5>
                <p class="text-muted m-t-3">
                    last updated on 29 November 2015
                </p>
            </div>
            <ul class="widget-gallery-list clearfix">
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
            </ul>
        </div>
    </div>
    
    
    <div class="col-md-6">
        <div class="widget widget-gallery">
            <div class="widget-gallery-header">
                <h5>Latest Uploaded Image</h5>
                <p class="text-muted m-t-3">
                    last updated on 29 November 2015
                </p>
            </div>
            <ul class="widget-gallery-list clearfix">
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
            </ul>
        </div>
    </div>
    
    
    <div class="col-md-6">
        <div class="widget widget-gallery">
            <div class="widget-gallery-header">
                <h5>Latest Uploaded Image</h5>
                <p class="text-muted m-t-3">
                    last updated on 29 November 2015
                </p>
            </div>
            <ul class="widget-gallery-list clearfix">
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
                <li><a href="#"><img src="https://www.bootdey.com/image/400x200/" alt=""></a></li>
            </ul>
        </div>
    </div>
</div>

CSS code

This is the css code used to create this bootstrap snippet, You can copy and paste the following css code inside a page with bootstrap 3.3.4 included, to get the result that you can see in the preview selection

body{
background:#eee;
margin-top:20px;
}

.widget {
    border: none;
    box-shadow: 0 2px 0 rgba(0,0,0,.07);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin-bottom: 20px;
    position: relative;
    background: #fff;
    padding: 20px;
    display: block;
}

.widget-gallery-header {
    margin: -20px -20px 0;
    padding: 20px;
    border-radius: 5px 5px 0 0;
}

.widget-gallery-list {
    list-style-type: none;
    margin: -5px -20px -20px;
    padding: 3px 0 0 3px;
}

.widget-gallery-list>li {
    width: 25%;
    position: relative;
    padding-top: 25%;
    overflow: hidden;
    float: left;
}

.widget-gallery-list>li a {
    background: #EAEDEF;
    color: #aab3ba;
    text-decoration: none;
}

.widget-gallery-list>li img {
    position: absolute;
    right: 3px;
    bottom: 3px;
    max-height: 100%;
}

.widget-gallery-header p {
    font-size: 12px;
}

.widget-gallery-header h5, .widget-gallery-header p {
    margin: 0;
}

.text-muted {
    color: #aab3ba;
}

.m-t-3 {
    margin-top: 3px!important;
}

.widget-gallery-list>li a:before {
    content: '';
    position: absolute;
    top: 50%;
    right: 50%;
    bottom: 50%;
    left: 50%;
    transition: all .2s ease-in-out;
    background: 0 0;
    z-index: 1020;
    border-radius: 50%;
}

.widget-gallery-list>li:hover a:before {
    content: '';
    left: 0;
    right: 3px;
    top: 0;
    bottom: 3px;
    background: rgba(0,0,0,.3);
    border-radius: 0;
}

Similar snippets

Bootstrap example and template. Dashboard user count colored circle image

Dashboard user count colored circle image

Bootstrap example and template. gallery with small images

gallery with small images

Bootstrap example and template. profile tab widget

profile tab widget

Bootstrap example and template. social post link

social post link

Bootstrap example and template. Whatsapp web chat template

Whatsapp web chat template

Bootstrap example and template. profile with data and skills

profile with data and skills

Bootstrap example and template. timeline steps

timeline steps

Bootstrap example and template. tickets timeline

tickets timeline

Bootstrap example and template. Blog image Gallery Widget

About this bootstrap example/template

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This code example currectly have 6.4K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 3.3.4

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

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

This code example is based on bootstrap 3.3.4 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