Bootstrap snippet. bs4 portfolio

This snippet was created to help web designers, 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

HTML code

This is the html code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous" />
<div class="container">
    <ul class="row portfolio lightbox list-unstyled mb-0 shuffle" id="grid" >
        <!-- project -->
        <li class="col-md-6 col-lg-4 project shuffle-item filtered" >
            <div class="card mb-0">
                <div class="project m-0">
                    <figure class="portfolio-item">
                        <div class="hovereffect">
                            <img class="img-responsive" src="https://via.placeholder.com/350x180/FFB6C1/000000" alt="">
                            <div class="overlay">
                                <div class="hovereffect-title">
                                    <div class="project-title-wrapper">
                                        <h5 class="project-title fs-18">STATIONERY</h5>
                                        <p class="project-skill">Branding, Illustration</p>
                                    </div><!-- / project-title-wrapper -->
                                </div><!-- / hover-effect-title -->
                                <div class="hovereffect-title project-icons">
                                    <a href="#"><i class="fa fa-eye"></i></a>
                                    <a href="#" class="image-lightbox" title="STATIONERY"><i class="fa fa-arrow-right"></i></a>
                                </div><!-- / project-icons -->
                            </div><!-- / overlay -->
                        </div><!-- / hovereffect -->
                    </figure><!-- / portfolio-item -->
                </div><!-- / project -->
            </div><!-- / card -->
        </li><!-- / project -->

        <!-- project -->
        <li class="col-md-6 col-lg-4 project shuffle-item concealed" >
            <div class="card mb-0">
                <div class="project m-0">
                    <figure class="portfolio-item">
                        <div class="hovereffect">
                            <img class="img-responsive" src="https://via.placeholder.com/350x180/87CEFA/000000" alt="">
                            <div class="overlay">
                                <div class="hovereffect-title">
                                    <div class="project-title-wrapper">
                                        <h5 class="project-title fs-18">FOIL LOGO</h5>
                                        <p class="project-skill">Design, Branding</p>
                                    </div><!-- / project-title-wrapper -->
                                </div><!-- / hover-effect-title -->
                                <div class="hovereffect-title project-icons">
                                    <a href="single-project.html"><i class="fa fa-eye"></i></a>
                                    <a href="#" class="image-lightbox" title="FOIL LOGO"><i class="fa fa-arrow-right"></i></a>
                                </div><!-- / project-icons -->
                            </div><!-- / overlay -->
                        </div><!-- / hovereffect -->
                    </figure><!-- / portfolio-item -->
                </div><!-- / project -->
            </div><!-- / card -->
        </li><!-- / project -->

        <!-- project -->
        <li class="col-md-6 col-lg-4 project shuffle-item filtered" >
            <div class="card mb-0">
                <div class="project m-0">
                    <figure class="portfolio-item">
                        <div class="hovereffect">
                            <img class="img-responsive" src="https://via.placeholder.com/350x180/B0C4DE/000000" alt="">
                            <div class="overlay">
                                <div class="hovereffect-title">
                                    <div class="project-title-wrapper">
                                        <h5 class="project-title fs-18">IDEA BULB</h5>
                                        <p class="project-skill">Design, Illustration</p>
                                    </div><!-- / project-title-wrapper -->
                                </div><!-- / hover-effect-title -->
                                <div class="hovereffect-title project-icons">
                                    <a href="single-project3.html"><i class="fa fa-eye"></i></a>
                                    <a href="#" class="image-lightbox" title="IDEA BULB"><i class="fa fa-arrow-right"></i></a>
                                </div><!-- / project-icons -->
                            </div><!-- / overlay -->
                        </div><!-- / hovereffect -->
                    </figure><!-- / portfolio-item -->
                </div><!-- / project -->
            </div><!-- / card -->
        </li><!-- / project -->

        <!-- project -->
        <li class="col-md-6 col-lg-4 project shuffle-item filtered" >
            <div class="card mb-0">
                <div class="project m-0">
                    <figure class="portfolio-item">
                        <div class="hovereffect">
                            <img class="img-responsive" src="https://via.placeholder.com/350x180/ADD8E6/000000" alt="">
                            <div class="overlay">
                                <div class="hovereffect-title">
                                    <div class="project-title-wrapper">
                                        <h5 class="project-title fs-18">MOUNTAINS</h5>
                                        <p class="project-skill">Design, Illustration</p>
                                    </div><!-- / project-title-wrapper -->
                                </div><!-- / hover-effect-title -->
                                <div class="hovereffect-title project-icons">
                                    <a href="single-project3.html"><i class="fa fa-eye"></i></a>
                                    <a href="#" class="image-lightbox" title="MOUNTAINS"><i class="fa fa-arrow-right"></i></a>
                                </div><!-- / project-icons -->
                            </div><!-- / overlay -->
                        </div><!-- / hovereffect -->
                    </figure><!-- / portfolio-item -->
                </div><!-- / project -->
            </div><!-- / card -->
        </li><!-- / project -->

        <!-- project -->
        <li class="col-md-6 col-lg-4 project shuffle-item concealed" >
            <div class="card mb-0">
                <div class="project m-0">
                    <figure class="portfolio-item">
                        <div class="hovereffect">
                            <img class="img-responsive" src="https://via.placeholder.com/350x180/D3D3D3/000000" alt="">
                            <div class="overlay">
                                <div class="hovereffect-title">
                                    <div class="project-title-wrapper">
                                        <h5 class="project-title fs-18">HELLO WORLD</h5>
                                        <p class="project-skill">Branding</p>
                                    </div><!-- / project-title-wrapper -->
                                </div><!-- / hover-effect-title -->
                                <div class="hovereffect-title project-icons">
                                    <a href="#"><i class="fa fa-eye"></i></a>
                                    <a href="#" class="image-lightbox" title="HELLO WORLD"><i class="fa fa-arrow-right"></i></a>
                                </div><!-- / project-icons -->
                            </div><!-- / overlay -->
                        </div><!-- / hovereffect -->
                    </figure><!-- / portfolio-item -->
                </div><!-- / project -->
            </div><!-- / card -->
        </li><!-- / project -->

        <!-- project -->
        <li class="col-md-6 col-lg-4 project shuffle-item concealed" >
            <div class="card mb-0">
                <div class="project m-0">
                    <figure class="portfolio-item">
                        <div class="hovereffect">
                            <img class="img-responsive" src="https://via.placeholder.com/350x180/48D1CC/000000" alt="">
                            <div class="overlay">
                                <div class="hovereffect-title">
                                    <div class="project-title-wrapper">
                                        <h5 class="project-title fs-18">CAMERON</h5>
                                        <p class="project-skill">Design</p>
                                    </div><!-- / project-title-wrapper -->
                                </div><!-- / hover-effect-title -->
                                <div class="hovereffect-title project-icons">
                                    <a href="single-project.html"><i class="fa fa-eye"></i></a>
                                    <a href="#" class="image-lightbox" title="CAMERON"><i class="fa fa-arrow-right"></i></a>
                                </div><!-- / project-icons -->
                            </div><!-- / overlay -->
                        </div><!-- / hovereffect -->
                    </figure><!-- / portfolio-item -->
                </div><!-- / project -->
            </div><!-- / card -->
        </li><!-- / project -->

        <li class="col-md-6 col-lg-4 project shuffle-item filtered" >
            <div class="card mb-0">
                <div class="project m-0">
                    <figure class="portfolio-item">
                        <div class="hovereffect">
                            <img class="img-responsive" src="https://via.placeholder.com/350x180/FFDEAD/000000" alt="">
                            <div class="overlay">
                                <div class="hovereffect-title">
                                    <div class="project-title-wrapper">
                                        <h5 class="project-title fs-18">WHALE</h5>
                                        <p class="project-skill">Design, Illustration</p>
                                    </div><!-- / project-title-wrapper -->
                                </div><!-- / hover-effect-title -->
                                <div class="hovereffect-title project-icons">
                                    <a href="single-project3.html"><i class="fa fa-eye"></i></a>
                                    <a href="#" class="image-lightbox" title="WHALE"><i class="fa fa-arrow-right"></i></a>
                                </div><!-- / project-icons -->
                            </div><!-- / overlay -->
                        </div><!-- / hovereffect -->
                    </figure><!-- / portfolio-item -->
                </div><!-- / project -->
            </div><!-- / card -->
        </li><!-- / project -->

        <!-- project -->
        <li class="col-md-6 col-lg-4 project shuffle-item concealed" >
            <div class="card mb-0">
                <div class="project m-0">
                    <figure class="portfolio-item">
                        <div class="hovereffect">
                            <img class="img-responsive" src="https://via.placeholder.com/350x180/DDA0DD/000000" alt="">
                            <div class="overlay">
                                <div class="hovereffect-title">
                                    <div class="project-title-wrapper">
                                        <h5 class="project-title fs-18">BRANDING</h5>
                                        <p class="project-skill">Branding</p>
                                    </div><!-- / project-title-wrapper -->
                                </div><!-- / hover-effect-title -->
                                <div class="hovereffect-title project-icons">
                                    <a href="#"><i class="fa fa-eye"></i></a>
                                    <a href="#" class="image-lightbox" title="BRANDING"><i class="fa fa-arrow-right"></i></a>
                                </div><!-- / project-icons -->
                            </div><!-- / overlay -->
                        </div><!-- / hovereffect -->
                    </figure><!-- / portfolio-item -->
                </div><!-- / project -->
            </div><!-- / card -->
        </li><!-- / project -->

        <!-- project -->
        <li class="col-md-6 col-lg-4 project shuffle-item filtered" >
            <div class="card mb-0">
                <div class="project m-0">
                    <figure class="portfolio-item">
                        <div class="hovereffect">
                            <img class="img-responsive" src="https://via.placeholder.com/350x180/B0E0E6/000000" alt="">
                            <div class="overlay">
                                <div class="hovereffect-title">
                                    <div class="project-title-wrapper">
                                        <h5 class="project-title fs-18">HYMALAYAS</h5>
                                        <p class="project-skill">Design, Illustration</p>
                                    </div><!-- / project-title-wrapper -->
                                </div><!-- / hover-effect-title -->
                                <div class="hovereffect-title project-icons">
                                    <a href="single-project3.html"><i class="fa fa-eye"></i></a>
                                    <a href="#" class="image-lightbox" title="HYMALAYAS"><i class="fa fa-arrow-right"></i></a>
                                </div><!-- / project-icons -->
                            </div><!-- / overlay -->
                        </div><!-- / hovereffect -->
                    </figure><!-- / portfolio-item -->
                </div><!-- / project -->
            </div><!-- / card -->
        </li><!-- / project -->

        <!-- project -->
        <li class="col-md-6 col-lg-4 project shuffle-item filtered" >
            <div class="card mb-0">
                <div class="project m-0">
                    <figure class="portfolio-item">
                        <div class="hovereffect">
                            <img class="img-responsive" src="https://via.placeholder.com/350x180/87CEEB/000000" alt="">
                            <div class="overlay">
                                <div class="hovereffect-title">
                                    <div class="project-title-wrapper">
                                        <h5 class="project-title fs-18">CUPCAKE</h5>
                                        <p class="project-skill">Design, Illustration</p>
                                    </div><!-- / project-title-wrapper -->
                                </div><!-- / hover-effect-title -->
                                <div class="hovereffect-title project-icons">
                                    <a href="single-project3.html"><i class="fa fa-eye"></i></a>
                                    <a href="#" class="image-lightbox" title="CUPCAKE"><i class="fa fa-arrow-right"></i></a>
                                </div><!-- / project-icons -->
                            </div><!-- / overlay -->
                        </div><!-- / hovereffect -->
                    </figure><!-- / portfolio-item -->
                </div><!-- / project -->
            </div><!-- / card -->
        </li><!-- / project -->

        <!-- project -->
        <li class="col-md-6 col-lg-4 project shuffle-item concealed" >
            <div class="card mb-0">
                <div class="project m-0">
                    <figure class="portfolio-item">
                        <div class="hovereffect">
                            <img class="img-responsive" src="https://via.placeholder.com/350x180/D8BFD8/000000" alt="">
                            <div class="overlay">
                                <div class="hovereffect-title">
                                    <div class="project-title-wrapper">
                                        <h5 class="project-title fs-18">BRANDMINUTE</h5>
                                        <p class="project-skill">Branding</p>
                                    </div><!-- / project-title-wrapper -->
                                </div><!-- / hover-effect-title -->
                                <div class="hovereffect-title project-icons">
                                    <a href="#"><i class="fa fa-eye"></i></a>
                                    <a href="#" class="image-lightbox" title="BRANDMINUTE"><i class="fa fa-arrow-right"></i></a>
                                </div><!-- / project-icons -->
                            </div><!-- / overlay -->
                        </div><!-- / hovereffect -->
                    </figure><!-- / portfolio-item -->
                </div><!-- / project -->
            </div><!-- / card -->
        </li><!-- / project -->

        <!-- project -->
        <li class="col-md-6 col-lg-4 project shuffle-item concealed" >
            <div class="card mb-0">
                <div class="project m-0">
                    <figure class="portfolio-item">
                        <div class="hovereffect">
                            <img class="img-responsive" src="https://via.placeholder.com/350x180/FF0000/000000" alt="">
                            <div class="overlay">
                                <div class="hovereffect-title">
                                    <div class="project-title-wrapper">
                                        <h5 class="project-title fs-18">PREMIUM LOGO</h5>
                                        <p class="project-skill">Design, Branding</p>
                                    </div><!-- / project-title-wrapper -->
                                </div><!-- / hover-effect-title -->
                                <div class="hovereffect-title project-icons">
                                    <a href="single-project.html"><i class="fa fa-eye"></i></a>
                                    <a href="#" class="image-lightbox" title="PREMIUM LOGO"><i class="fa fa-arrow-right"></i></a>
                                </div><!-- / project-icons -->
                            </div><!-- / overlay -->
                        </div><!-- / hovereffect -->
                    </figure><!-- / portfolio-item -->
                </div><!-- / project -->
            </div><!-- / card -->
        </li><!-- / project -->
    </ul><!-- / portfolio -->
</div>

CSS code

This is the css code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

body{
    background:#eee;
    margin-top:20px;}
/*------- portfolio -------*/
.project {
  margin: 15px 0;
}

.no-gutter .project {
  margin: 0 !important;
  padding: 0 !important;
}

.has-spacer {
  margin-left: 30px;
  margin-right: 30px;
  margin-bottom: 30px;
}

.has-spacer-extra-space {
  margin-left: 30px;
  margin-right: 30px;
  margin-bottom: 30px;
}

.has-side-spacer {
  margin-left: 30px;
  margin-right: 30px;
}

.project-title {
  font-size: 1.25rem;
}

.project-skill {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.06rem;
}

.project-info-box {
  margin: 15px 0;
  background-color: #fff;
  padding: 30px 40px;
  border-radius: 5px;
}

.project-info-box p {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #d5dadb;
}

.project-info-box p:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/*--- default effect ---*/
.hovereffect {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  z-index: 2;
}

.hovereffect .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.25);
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  border-radius: 5px;
}

.primary-dark .hovereffect .overlay {
  background-color: rgba(215, 48, 39, 0.95);
}

.white .hovereffect .overlay {
  background-color: rgba(255, 255, 255, 0.75);
}

.dark-overlay .hovereffect .overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.hovereffect img {
  display: block;
  position: relative;
  -webkit-transition: all .3s linear;
  transition: all .3s linear;
  border: 10px solid #fff;
  border-radius: 5px;
}

.no-image-border .hovereffect img {
  border: none;
  border-radius: 5px;
}

.no-image-border.no-gutter .hovereffect img, .no-image-border.no-gutter .hovereffect .overlay {
  border: none;
  border-radius: 0;
}

.hovereffect:hover img {
  -webkit-transform: rotate(-7deg) scale(1.33);
  -ms-transform: rotate(-7deg) scale(1.33);
  transform: rotate(-7deg) scale(1.33);
}

.hovereffect-title .project-title-wrapper {
  position: absolute;
  top: 45%;
  left: 0;
  margin-top: -32px;
  width: 100%;
  padding: 10px;
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}

.project:hover .hovereffect-title .project-title-wrapper {
  top: 50%;
}

.hovereffect-title .project-title {
  color: #fff;
  background: transparent;
  margin-bottom: 5px;
}

.white .hovereffect-title .project-title {
  color: #171819;
}

.hovereffect-title p {
  color: #fff;
  background: transparent;
  font-size: 12px;
  margin: 0;
}

.white .hovereffect-title p {
  color: #686c6d;
}

.hovereffect-title .hover-icons {
  font-size: 16px;
  background: transparent;
  position: absolute;
  bottom: 10%;
  left: 0;
  right: 0;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.project:hover .hovereffect-title .hover-icons {
  bottom: 15%;
}

.hovereffect-title .hover-icons a {
  color: #fff;
}

.white .hovereffect-title .hover-icons a {
  color: #171819;
}

.hovereffect-title.project-icons {
  position: absolute;
  right: 0;
  bottom: -10px;
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
}

.project:hover .hovereffect-title.project-icons {
  bottom: 0;
}

.hovereffect-title.project-icons a {
  display: inline-block;
  position: relative;
  color: #fff;
  font-size: 11px;
  line-height: 40px;
  width: 45px;
  height: 38px;
  background: #8e9294;
  opacity: 0.75;
}

.hovereffect-title.project-icons a i {
  margin-right: -2px;
}

.hovereffect-title.project-icons a:first-child {
  background-color: #7c8284;
  margin-right: -4px;
}

.project-icons a:hover, .project-icons a:first-child:hover {
  background-color: #505254 !important;
  opacity: 1;
}

.hovereffect-title.project-icons .hover-icons {
  color: #fff;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  margin-top: 0;
  opacity: 1;
}

.hovereffect-title.project-icons a:hover {
  background: #931c19;
}

.primary-dark .project-icons a {
  color: #d73027;
  background-color: #fff;
}

.primary-dark .project-icons a:hover {
  background-color: #efefef;
}

.primary-dark .project-icons a:hover {
  color: #fff;
}

.primary-dark .hovereffect-title.project-icons .hover-icons {
  color: #d73027;
}

.white .hovereffect-title .hover-icons {
  color: #171819;
}

.white .hovereffect-title.project-icons .hover-icons {
  color: #171819;
}

.hovereffect-title .hover-icons a {
  opacity: 0.7;
  margin: 0 4px;
}

.hovereffect-title .hover-icons a {
  opacity: 0.7;
}

.hovereffect-title .hover-icons a:hover {
  opacity: 1;
}

.hovereffect:hover .overlay {
  opacity: 1;
  filter: alpha(opacity=100);
}

.boxed-portfolio .card {
  background-color: #fff;
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.025), 0 1px 4px rgba(0, 0, 0, 0.05) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.025), 0 1px 4px rgba(0, 0, 0, 0.05) !important;
}

.boxed-portfolio .hovereffect img, .boxed-portfolio .hovereffect .overlay {
  border: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.boxed-portfolio .card-body {
  padding: 25px 30px;
  border-top: 1px solid #efefef;
}

/*--- end of default effect ---*/
/*--- portfolio-filter ---*/
.portfolio-filter {
  padding: 20px 0;
}

.no-gutter .portfolio-filter {
  margin-bottom: 30px;
}

.portfolio-filter.list-inline li {
  display: inline-block;
  color: #fff;
  font-size: 1rem;
  padding: 0;
  margin-right: 7px;
}

.portfolio-filter a {
  color: #d5dadb;
  background-color: #7c8284;
  font-family: "Barlow", sans-serif !important;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.06rem;
  line-height: 40px;
  border-radius: 2px;
  margin: 0;
  padding: 6px 24px;
  border-radius: 50px;
  opacity: 1 !important;
}

.portfolio-filter a:hover {
  color: #d5dadb;
  background-color: #252728;
}

.portfolio-filter a.active {
  color: #fff;
  background-color: #d73027;
}

#portfolio-slider .project {
  max-width: 900px;
  margin: 0 auto;
}
img {
    width: 100%;
    max-width: 100%;
    height: auto;
    -webkit-backface-visibility: hidden;
}

Similar snippets

Bootstrap portfolio with filter menu example

portfolio with filter menu

Bootstrap portfolio with category filter using isotope js example

portfolio with category filter using isotope js

Bootstrap portfolio 4 columns example

portfolio 4 columns

Bootstrap bs4 sevices page example

bs4 sevices page

Bootstrap profile with data and skills example

profile with data and skills

Bootstrap profile edit data and skills example

profile edit data and skills

Bootstrap modern price section example

modern price section

Bootstrap bs4 crud users example

bs4 crud users

Free bootstrap example. bs4 portfolio

About this bootstrap snippet

This bootstrap snippet, bs4 portfolio, was published on Mar 6th 2020, 14:54 by Dey Dey and it is free.

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

Bootstrap 4.4.1

This snippet is based on bootstrap 4.4.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 snippet can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working