Bootstrap snippet and html example. bs4 portfolio gallery

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: portfolio,gallery,filter

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 4.1.1 included, to get the result that you can see in the preview selection

<script src="https://cdnjs.cloudflare.com/ajax/libs/mixitup/3.3.1/mixitup.js"></script>
<div class="container">
<div class="portfolio-controls mrg10L mrg10R radius-all-4 portfolio-nav-alt bg-blue clearfix controls">
    <div class="container text-center">
        <ul class="float-none">
            <li class="filter" data-filter="all">View all</li>
            <li class="filter" data-filter="hover_1">Illustrations</li>
            <li class="filter" data-filter="hover_2">Food &amp; Drink</li>
            <li class="filter active" data-filter="hover_3">Mobile applications</li>
            <li class="filter" data-filter="hover_4">Gadgets &amp; Effects</li>
        </ul>
    </div>
</div>
<div class="clearfix">
<ul id="portfolio-grid" class="reset-ul row" style="   ">
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_1 mix_all" data-cat="1" style="">
    <div class="thumbnail-box">
        <a class="thumb-link" href="#" title=""></a>
        <div class="thumb-content">
            <div class="center-vertical">
                <div class="center-content">
                    <h3 class="thumb-heading animated bounceIn">
                        Railroad bridge
                        <small>12 March 2015</small>
                    </h3>
                </div>
            </div>
        </div>
        <div class="thumb-overlay bg-primary"></div>
        <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="">
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_1 mix_all" data-cat="1" style="">
    <div class="thumbnail-box">
        <a class="thumb-link" href="#" title=""></a>
        <div class="thumb-content">
            <div class="center-vertical">
                <div class="center-content">
                    <h3 class="thumb-heading animated rollIn">
                        Beautiful garden
                        <small>12 March 2015</small>
                    </h3>
                </div>
            </div>
        </div>
        <div class="thumb-overlay bg-black"></div>
        <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="">
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_1 mix_all" data-cat="1" style="">
    <div class="thumbnail-box">
        <a class="thumb-link" href="#" title=""></a>
        <div class="thumb-content">
            <div class="center-vertical">
                <div class="center-content">
                    <h3 class="thumb-heading animated fadeInDown">
                        Sunrays flowers
                        <small>12 March 2015</small>
                    </h3>
                </div>
            </div>
        </div>
        <div class="thumb-overlay bg-primary"></div>
        <img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="">
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_1 mix_all" data-cat="1" style="">
    <div class="thumbnail-box">
        <a class="thumb-link" href="#" title=""></a>
        <div class="thumb-content">
            <div class="center-vertical">
                <div class="center-content">
                    <h3 class="thumb-heading animated flipInX">
                        Seeing a DJs work
                        <small>12 March 2015</small>
                    </h3>
                </div>
            </div>
        </div>
        <div class="thumb-overlay bg-blue"></div>
        <img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="">
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_1 mix_all" data-cat="1" style="">
    <div class="thumbnail-box">
        <div class="thumb-content">
            <div class="center-vertical">
                <div class="center-content">
                    <div class="thumb-btn animated bounceInDown">
                        <a href="#" class="btn btn-md btn-round btn-success" title=""><i class="glyph-icon icon-check"></i></a>
                        <a href="#" class="btn btn-md btn-round btn-danger" title=""><i class="glyph-icon icon-remove"></i></a>
                    </div>
                </div>
            </div>
        </div>
        <div class="thumb-overlay bg-primary"></div>
        <img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="">
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_1 mix_all" data-cat="1" style="">
    <div class="thumbnail-box">
        <div class="thumb-content">
            <div class="center-vertical">
                <div class="center-content">
                    <div class="thumb-btn animated zoomIn">
                        <a href="#" class="btn btn-lg btn-round btn-success" title=""><i class="glyph-icon icon-check"></i></a>
                        <a href="#" class="btn btn-lg btn-round btn-danger" title=""><i class="glyph-icon icon-remove"></i></a>
                    </div>
                </div>
            </div>
        </div>
        <div class="thumb-overlay bg-gray"></div>
        <img src="https://bootdey.com/img/Content/avatar/avatar7.png" alt="">
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_2 mix_all" data-cat="2" style="">
    <div class="thumbnail-box">
        <div class="thumb-content">
            <div class="center-vertical">
                <div class="center-content">
                    <div class="thumb-btn animated rotateIn">
                        <a href="#" class="btn btn-lg btn-round btn-primary" title=""><i class="glyph-icon icon-plus"></i></a>
                    </div>
                </div>
            </div>
        </div>
        <div class="thumb-overlay bg-black"></div>
        <img src="https://bootdey.com/img/Content/avatar/avatar8.png" alt="">
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_2 mix_all" data-cat="2" style="">
    <div class="thumbnail-box">
        <div class="thumb-content">
            <div class="center-vertical">
                <div class="center-content">
                    <div class="thumb-btn animated bounceIn">
                        <a href="#" class="btn btn-xlg btn-round btn-primary" title=""><i class="glyph-icon icon-plus"></i></a>
                    </div>
                </div>
            </div>
        </div>
        <div class="thumb-overlay bg-blue-alt"></div>
        <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="">
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_2 mix_all" data-cat="2" style="">
    <div class="thumbnail-box">
        <a class="thumb-link" href="#" title=""></a>
        <div class="thumb-content">
            <div class="center-vertical">
                <div class="center-content">
                    <i class="icon-helper icon-center animated zoomInUp font-white glyph-icon icon-linecons-music"></i>
                </div>
            </div>
            <i class="icon-helper icon-br animated bounceInDown bg-danger glyph-icon icon-plus"></i>
        </div>
        <div class="thumb-overlay bg-primary"></div>
        <img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="">
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_2 mix_all" data-cat="2" style="">
    <div class="thumbnail-box">
        <a class="thumb-link" href="#" title=""></a>
        <div class="thumb-content">
            <div class="center-vertical">
                <div class="center-content">
                    <i class="icon-helper icon-center animated pulse font-white glyph-icon icon-linecons-search"></i>
                </div>
            </div>
            <i class="icon-helper icon-tr animated rotateIn bg-green glyph-icon icon-plus"></i>
        </div>
        <div class="thumb-overlay bg-danger"></div>
        <img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="">
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_2 mix_all" data-cat="2" style="">
    <div class="thumbnail-box">
        <a class="thumb-link" href="#" title=""></a>
        <div class="thumb-content">
            <div class="center-vertical">
                <div class="center-content">
                    <i class="icon-helper icon-center animated swing font-white glyph-icon icon-linecons-location"></i>
                </div>
            </div>
            <i class="icon-helper icon-bl animated zoomIn bg-black glyph-icon icon-plus"></i>
        </div>
        <div class="thumb-overlay bg-azure"></div>
        <img src="https://bootdey.com/img/Content/avatar/avatar5.png" alt="">
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_2 mix_all" data-cat="2" style="">
    <div class="thumbnail-box">
        <a class="thumb-link" href="#" title=""></a>
        <div class="thumb-content">
            <div class="center-vertical">
                <div class="center-content">
                    <i class="icon-helper icon-center animated rotateIn font-white glyph-icon icon-linecons-camera"></i>
                </div>
            </div>
            <i class="icon-helper icon-tl animated fadeIn bg-black glyph-icon icon-plus"></i>
        </div>
        <div class="thumb-overlay bg-black"></div>
        <img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="">
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_3 mix_all" data-cat="3" style=" display: inline-block; opacity: 1;">
    <div class="thumbnail-box thumbnail-box-inverse">
        <a class="thumb-link" href="#" title=""></a>
        <div class="thumb-content">
            <div class="center-vertical">
                <div class="center-content">
                    <h3 class="thumb-heading animated bounceIn">
                        Cookie monsters
                        <small>12 March 2015</small>
                    </h3>
                </div>
            </div>
        </div>
        <div class="thumb-overlay bg-black"></div>
        <img src="https://bootdey.com/img/Content/avatar/avatar7.png" alt="">
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_3 mix_all" data-cat="3" style=" display: inline-block; opacity: 1;">
    <div class="thumbnail-box thumbnail-box-inverse">
        <a class="thumb-link" href="#" title=""></a>
        <div class="thumb-content">
            <div class="center-vertical">
                <div class="center-content">
                    <i class="icon-helper icon-center animated zoomInUp font-white glyph-icon icon-linecons-music"></i>
                </div>
            </div>
        </div>
        <div class="thumb-overlay bg-primary"></div>
        <img src="https://bootdey.com/img/Content/avatar/avatar8.png" alt="">
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_3 mix_all" data-cat="3" style=" display: inline-block; opacity: 1;">
    <div class="thumbnail-box thumbnail-box-inverse">
        <a class="thumb-link" href="#" title=""></a>
        <div class="thumb-content">
            <div class="center-vertical">
                <div class="center-content">
                    <h3 class="thumb-heading animated rollIn">
                        Tables at work
                        <small>12 March 2015</small>
                    </h3>
                </div>
            </div>
        </div>
        <div class="thumb-overlay bg-orange"></div>
        <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="">
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_3 mix_all" data-cat="3" style=" display: inline-block; opacity: 1;">
    <div class="thumbnail-box thumbnail-box-inverse">
        <a class="thumb-link" href="#" title=""></a>
        <div class="thumb-content">
            <div class="center-vertical">
                <div class="center-content">
                    <i class="icon-helper icon-center animated rotateIn font-white glyph-icon icon-linecons-camera"></i>
                </div>
            </div>
        </div>
        <div class="thumb-overlay bg-blue-alt"></div>
        <img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="">
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_3 mix_all" data-cat="3" style=" display: inline-block; opacity: 1;">
    <div class="thumbnail-box thumbnail-box-inverse">
        <a class="thumb-link" href="#" title=""></a>
        <div class="thumb-content">
            <div class="center-vertical">
                <div class="center-content">
                    <i class="icon-helper icon-center animated rotateIn font-white glyph-icon icon-linecons-camera"></i>
                </div>
            </div>
        </div>
        <div class="thumb-overlay bg-blue-alt"></div>
        <img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="">
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_3 mix_all" data-cat="3" style=" display: inline-block; opacity: 1;">
    <div class="thumbnail-box thumbnail-box-inverse">
        <a class="thumb-link" href="#" title=""></a>
        <div class="thumb-content">
            <div class="center-vertical">
                <div class="center-content">
                    <i class="icon-helper icon-center animated rotateIn font-white glyph-icon icon-linecons-camera"></i>
                </div>
            </div>
        </div>
        <div class="thumb-overlay bg-blue-alt"></div>
        <img src="https://bootdey.com/img/Content/avatar/avatar5.png" alt="">
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_4 mix_all" data-cat="4" style="">
    <div class="thumbnail-box-wrapper">
        <div class="thumbnail-box">
            <a class="thumb-link" href="#" title=""></a>
            <div class="thumb-content">
                <div class="center-vertical">
                    <div class="center-content">
                        <i class="icon-helper icon-center animated zoomInUp font-white glyph-icon icon-linecons-camera"></i>
                    </div>
                </div>
            </div>
            <div class="thumb-overlay bg-black"></div>
            <img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="">
        </div>
        <div class="thumb-pane">
            <h3 class="thumb-heading animated rollIn">
                <a href="#" title="">
                    Working in the morning
                </a>
                <small>12 March 2015</small>
            </h3>
        </div>
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_4 mix_all" data-cat="4" style="">
    <div class="thumbnail-box-wrapper">
        <div class="thumbnail-box">
            <a class="thumb-link" href="#" title=""></a>
            <div class="thumb-content">
                <div class="center-vertical">
                    <div class="center-content">
                        <i class="icon-helper icon-center animated zoomInUp font-white glyph-icon icon-linecons-camera"></i>
                    </div>
                </div>
            </div>
            <div class="thumb-overlay bg-black"></div>
            <img src="https://bootdey.com/img/Content/avatar/avatar7.png" alt="">
        </div>
        <div class="thumb-pane">
            <h3 class="thumb-heading animated rollIn">
                <a href="#" title="">
                    Working in the morning
                </a>
                <small>12 March 2015</small>
            </h3>
        </div>
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_4 mix_all" data-cat="4" style="">
    <div class="thumbnail-box-wrapper">
        <div class="thumbnail-box">
            <a class="thumb-link" href="#" title=""></a>
            <div class="thumb-content">
                <div class="center-vertical">
                    <div class="center-content">
                        <i class="icon-helper icon-center animated zoomInUp font-white glyph-icon icon-linecons-camera"></i>
                    </div>
                </div>
            </div>
            <div class="thumb-overlay bg-black"></div>
            <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="">
        </div>
        <div class="thumb-pane">
            <h3 class="thumb-heading animated rollIn">
                <a href="#" title="">
                    Working in the morning
                </a>
                <small>12 March 2015</small>
            </h3>
        </div>
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_4 mix_all" data-cat="4" style="">
    <div class="thumbnail-box-wrapper">
        <div class="thumbnail-box">
            <a class="thumb-link" href="#" title=""></a>
            <div class="thumb-content">
                <div class="center-vertical">
                    <div class="center-content">
                        <i class="icon-helper icon-center animated zoomInUp font-white glyph-icon icon-linecons-camera"></i>
                    </div>
                </div>
            </div>
            <div class="thumb-overlay bg-black"></div>
            <img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="">
        </div>
        <div class="thumb-pane">
            <h3 class="thumb-heading animated rollIn">
                <a href="#" title="">
                    Working in the morning
                </a>
                <small>12 March 2015</small>
            </h3>
        </div>
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_4 mix_all" data-cat="4" style="">
    <div class="thumbnail-box-wrapper">
        <div class="thumbnail-box">
            <a class="thumb-link" href="#" title=""></a>
            <div class="thumb-content">
                <div class="center-vertical">
                    <div class="center-content">
                        <i class="icon-helper icon-center animated zoomInUp font-white glyph-icon icon-linecons-camera"></i>
                    </div>
                </div>
            </div>
            <div class="thumb-overlay bg-black"></div>
            <img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="">
        </div>
        <div class="thumb-pane">
            <h3 class="thumb-heading animated rollIn">
                <a href="#" title="">
                    Working in the morning
                </a>
                <small>12 March 2015</small>
            </h3>
        </div>
    </div>
</li>
<li class="col-lg-3 col-sm-6 col-md-4 mix hover_4 mix_all" data-cat="4" style="">
    <div class="thumbnail-box-wrapper">
        <div class="thumbnail-box">
            <a class="thumb-link" href="#" title=""></a>
            <div class="thumb-content">
                <div class="center-vertical">
                    <div class="center-content">
                        <i class="icon-helper icon-center animated zoomInUp font-white glyph-icon icon-linecons-camera"></i>
                    </div>
                </div>
            </div>
            <div class="thumb-overlay bg-black"></div>
            <img src="https://bootdey.com/img/Content/avatar/avatar5.png" alt="">
        </div>
        <div class="thumb-pane">
            <h3 class="thumb-heading animated rollIn">
                <a href="#" title="">
                    Working in the morning
                </a>
                <small>12 March 2015</small>
            </h3>
        </div>
    </div>
</li>
</ul>
</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 4.1.1 included, to get the result that you can see in the preview selection

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

.carousel-inner > .item > img,
.carousel-inner > .item > a > img,
.img-responsive {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}
.img-full {
    display: block;
    width: 100%;
    height: 100%;
}
.img-rounded {
    border-radius: 6px;
}
.thumbnail,
.img-thumbnail {
    line-height: 1.428571429;
    display: inline-block;
    max-width: 100%;
    height: auto;
    padding: 4px;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
    background-color: #fff;
}
.thumbnail img,
.img-thumbnail img {
    display: block;
}
.img-circle {
    border-radius: 50%;
}
.img-bordered {
    padding: 3px;
    border-width: 1px;
    border-style: solid;
    background: #fff;
}
/* Icon helper */

.icon-helper {
    line-height: 36px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 36px;
}
.icon-br {
    top: auto;
    right: 0;
    left: auto;
}
.icon-tr {
    top: 0;
    right: 0;
    bottom: auto;
    left: auto;
}
.icon-center {
    font-size: 50px;
    line-height: 50px;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
}
/* Hover effects */

.thumbnail-box {
    position: relative;
    overflow: hidden;
    margin: 0 0 20px;
}
.thumbnail-box .thumb-link,
.thumbnail-box .thumb-content,
.thumbnail-box .thumb-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.thumbnail-box .thumb-link {
    z-index: 25;
}
.thumbnail-box .thumb-content {
    z-index: 20;
    display: none;
}
.thumbnail-box .thumb-overlay {
    z-index: 15;
    opacity: 0;
    -moz-opacity: 0;
    filter: alpha(opacity: 0);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    visibility: hidden;
}
.thumbnail-box .thumb-overlay.bg-black {
    background: #000;
}
.thumbnail-box img {
    display: block;
    width: 100%;
    position: relative;
    z-index: 10;
    transition: .3s all linear;
    -webkit-transition: .3s all linear;
}
.thumbnail-box:hover img {
    transform: matrix(1.1, 0, 0, 1.1, 0, 0);
    -ms-transform: matrix(1.1, 0, 0, 1.1, 0, 0);
    -webkit-transform: matrix(1.1, 0, 0, 1.1, 0, 0);
}
.thumbnail-box:hover .thumb-overlay {
    opacity: 0.80;
    -moz-opacity: .80;
    filter: alpha(opacity: 80);
    visibility: visible;
}
.thumbnail-box:hover .thumb-content {
    display: block;
}
/* Thumbnail heading */

.thumb-heading {
    text-align: center;
    font-size: 15px;
    text-transform: uppercase;
}
.thumbnail-box .thumb-heading {
    color: #fff;
}
.thumb-heading small {
    display: block;
    font-size: 13px;
    opacity: 0.65;
    padding: 5px 0 0;
    -moz-opacity: .65;
    filter: alpha(opacity: 65);
    text-transform: none;
}
/* Thumbnail buttons */

.thumbnail-box .thumb-btn {
    text-align: center;
    padding: 15px;
}
.thumb-btn.zoomIn {
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
}
/* Thumbnail inverse */

.thumbnail-box-inverse .thumb-overlay {
    display: block;
    opacity: 0.3;
    -moz-opacity: .30;
    filter: alpha(opacity: 30);
    visibility: visible;
}
.thumbnail-box-inverse:hover .thumb-overlay {
    opacity: 0;
    -moz-opacity: 0;
    filter: alpha(opacity: 0);
    visibility: hidden;
}
.thumbnail-box-inverse .thumb-content {
    display: block;
}
.thumbnail-box-inverse:hover .thumb-content {
    display: none;
}
/* Thumbnail pane */

.thumb-pane {
    border: transparent solid 1px;
    border-top: 0;
    padding: 25px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}
.thumbnail-box + .thumb-pane {
    margin-top: -20px;
    margin-bottom: 20px;
}

.owl-item .thumb-pane {
    margin: 0;
}

.owl-item .thumbnail-box {
    margin-bottom: 0;
}

/* Thumbnail wrapper */

.thumbnail-box-wrapper {}

/* Image box */

.image-box {
    position: relative;
    overflow: hidden;
    max-height: 300px;
    padding: 0;
}
.image-box .image-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    text-align: center;
}
.thumb-pane{
    border-color: #dfe8f1;
}

a {
    color: #8da0aa;
}

.reset-ul, ul.progress-box, ul.messages-box, .chosen-results, ul.notifications-box, .nav-list-horizontal ul, .nav-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* Portfolio Nav */

.portfolio-controls {
    margin: 15px 0;
    padding: 15px 0;
}
.dropdown.controls {
    margin: 30px 0;
}
.portfolio-controls ul {
    float: right;
    margin: 0 -5px 0 0;
    padding: 0;
    list-style: none;
}
.portfolio-category {
    float: left;
    margin: 0;
    padding: 0 10px 0 0;
}
.portfolio-category-alt {
    margin-top: 36px;
}
.portfolio-controls ul .filter {
    line-height: 32px;
    display: block;
    float: left;
    height: 32px;
    margin: 0 5px;
    padding: 0 10px;
}
.portfolio-nav-alt .portfolio-category {
    color: rgba(255, 255, 255, .8);
}
.portfolio-nav-alt.inverse .portfolio-category {
    color: rgba(0, 0, 0, .8);
}
.portfolio-controls.portfolio-nav-alt.inverse ul .filter {
    color: rgba(0, 0, 0, .6);
}
.portfolio-controls.portfolio-nav-alt.inverse ul .filter:hover,
.portfolio-controls.portfolio-nav-alt.inverse ul .filter.active {
    color: #000;
}
.portfolio-controls ul .filter:hover,
.portfolio-controls ul .filter.active {
    cursor: pointer;
    color: #fff;
    border-radius: 4px;
    background: rgba(0, 0, 0, .05);
}
.portfolio-nav-alt {
    margin: 0 0 20px;
    padding: 20px 0;
}
.portfolio-controls.portfolio-nav-alt ul .filter {
    color: rgba(255, 255, 255, .6);
}
.portfolio-controls.portfolio-nav-alt ul .filter:hover,
.portfolio-controls.portfolio-nav-alt ul .filter.active {
    color: #fff;
}
.isotope {
    margin-top: 20px;
}
/*.isotope .thumbnail-box, 
.isotope .thumb-box, */

.portfolio-fullwidth .thumbnail-box,
.portfolio-fullwidth ul li .thumb-box,
.portfolio-fullwidth ul li.mix_all {
    margin: 0;
    padding: 0;
}

Javascript/Jquery code

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

$(function() {

    $('#portfolio-grid').mixitup({
        showOnLoad: 'hover_2'
    });

}); 

Similar snippets

Bootstrap example and template. Gallery with pagination

Gallery with pagination

Bootstrap example and template. User Profile with tabs

User Profile with tabs

Bootstrap example and template. portfolio 3 column with name

portfolio 3 column with name

Bootstrap example and template. Portfolio filter

Portfolio filter

Bootstrap example and template. timeline events area

timeline events area

Bootstrap example and template. image badge

image badge

Bootstrap example and template. Dashboard Statistics Overview

Dashboard Statistics Overview

Bootstrap example and template. order placed successfully

order placed successfully

Bootstrap example and template. bs4 portfolio gallery

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 669 views, Using this bootstrap snippet you have the following benefits:

Bootstrap 4.1.1

<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'>

<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js'></script>

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

Jquery plugins

Great built-in plugins with jquery framework, you can easy to change all declarations

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