Bootstrap snippet. bs4 simple 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 and paste the following html code inside a page with bootstrap 4.3.1 included, to get the result that you can see in the preview selection

Download
<div class="container">
        <div class="row">
<div class="col-12">
  <div class="card">
    <div class="card-body">
      <div class="row">
        <div class="col-12">
          <div class="row portfolio-grid">
            <div class="col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12">
              <figure class="effect-text-in">
                <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="image">
                <figcaption>
                  <h4>Photography</h4>
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
                </figcaption>
              </figure>
            </div>
            <div class="col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12">
              <figure class="effect-text-in">
                <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="image">
                <figcaption>
                  <h4>Lifestyle</h4>
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
                </figcaption>
              </figure>
            </div>
            <div class="col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12">
              <figure class="effect-text-in">
                <img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="image">
                <figcaption>
                  <h4>Tech Geeks</h4>
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
                </figcaption>
              </figure>
            </div>
            <div class="col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12">
              <figure class="effect-text-in">
                <img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="image">
                <figcaption>
                  <h4>Explore World</h4>
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
                </figcaption>
              </figure>
            </div>
            <div class="col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12">
              <figure class="effect-text-in">
                <img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="image">
                <figcaption>
                  <h4>Travel</h4>
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
                </figcaption>
              </figure>
            </div>
            <div class="col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12">
              <figure class="effect-text-in">
                <img src="https://bootdey.com/img/Content/avatar/avatar7.png" alt="image">
                <figcaption>
                  <h4>Colors</h4>
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
                </figcaption>
              </figure>
            </div>
            <div class="col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12">
              <figure class="effect-text-in">
                <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="image">
                <figcaption>
                  <h4>Through Nature</h4>
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
                </figcaption>
              </figure>
            </div>
            <div class="col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12">
              <figure class="effect-text-in">
                <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="image">
                <figcaption>
                  <h4>World</h4>
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
                </figcaption>
              </figure>
            </div>
            <div class="col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12">
              <figure class="effect-text-in">
                <img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="image">
                <figcaption>
                  <h4>Cultures</h4>
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
                </figcaption>
              </figure>
            </div>
            <div class="col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12">
              <figure class="effect-text-in">
                <img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="image">
                <figcaption>
                  <h4>Habits</h4>
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
                </figcaption>
              </figure>
            </div>
            <div class="col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12">
              <figure class="effect-text-in">
                <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="image">
                <figcaption>
                  <h4>Being yourself</h4>
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
                </figcaption>
              </figure>
            </div>
            <div class="col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12">
              <figure class="effect-text-in">
                <img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="image">
                <figcaption>
                  <h4>Nature</h4>
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
                </figcaption>
              </figure>
            </div>
            <div class="col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12">
              <figure class="effect-text-in">
                <img src="https://bootdey.com/img/Content/avatar/avatar7.png" alt="image">
                <figcaption>
                  <h4>Routines</h4>
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
                </figcaption>
              </figure>
            </div>
            <div class="col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12">
              <figure class="effect-text-in">
                <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="image">
                <figcaption>
                  <h4>Life</h4>
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
                </figcaption>
              </figure>
            </div>
            <div class="col-xl-3 col-lg-3 col-md-3 col-sm-6 col-12">
              <figure class="effect-text-in">
                <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="image">
                <figcaption>
                  <h4>Vision</h4>
                  <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
                </figcaption>
              </figure>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</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 4.3.1 included, to get the result that you can see in the preview selection

Download
body{margin-top:20px;}
/* Portfolio */
.portfolio-grid figure {
  position: relative;
  float: left;
  overflow: hidden;
  width: 100%;
  background: #464dee;
  text-align: center;
  cursor: pointer;
}

.portfolio-grid figure img {
  position: relative;
  display: block;
  min-height: 100%;
  max-width: 100%;
  width: 100%;
  opacity: 0.8;
}

.portfolio-grid figure figcaption {
  padding: 2em;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.portfolio-grid figure figcaption:after, .portfolio-grid figure figcaption:before {
  pointer-events: none;
}

.portfolio-grid figure.effect-text-in {
  border-radius: 0.25rem;
}

.portfolio-grid figure.effect-text-in h4,
.portfolio-grid figure.effect-text-in img {
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}

.portfolio-grid figure.effect-text-in img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.portfolio-grid figure.effect-text-in h4,
.portfolio-grid figure.effect-text-in p {
  position: absolute;
  bottom: 10px;
  left: 0;
  padding: 10px;
  margin-bottom: 0;
  width: 100%;
}

.portfolio-grid figure.effect-text-in p {
  text-transform: none;
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0, 50px, 0);
  transform: translate3d(0, 50px, 0);
}

.portfolio-grid figure.effect-text-in:hover img {
  -webkit-transform: translate3d(0, -80px, 0);
  transform: translate3d(0, -80px, 0);
}

.portfolio-grid figure.effect-text-in:hover h4 {
  -webkit-transform: translate3d(0, -100px, 0);
  transform: translate3d(0, -100px, 0);
}

.portfolio-grid figure.effect-text-in:hover p {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

Similar snippets

Bootstrap shopping and portfolio profile example

shopping and portfolio profile

Bootstrap portfolio with filter menu example

portfolio with filter menu

Bootstrap portfolio 3 column with name example

portfolio 3 column with name

Bootstrap Awesome portfolio example

Awesome portfolio

Bootstrap profile security settings example

profile security settings

Bootstrap notes example

notes

Bootstrap events card widget example

events card widget

Bootstrap bs5 dark footer example

bs5 dark footer

Bootstrap bs4 simple portfolio example

About this bootstrap snippet

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

Bootstrap 4.3.1

This snippet is based on bootstrap 4.3.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