Bootstrap snippet and html example. Porfolio work

Bootstrap 3.3.6 snippet "Porfolio work" with HTML, CSS, and JS. Copy, paste, and customize this responsive UI component for your project.
Tags: portfolio,gallery

HTML code

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



<section id="portfolio" class="section">
        <div class="container-fluid section-wrapper">
            <div class="section-content">
                <div class="row">
                    <div class="col-md-12 text-center">
                        <h2 class="section-title">My Latest Work</h2>

                        <p class="section-subtitle">I'm looking to expand my portfolio while I'm on top and while I'm young.</p>

                        <span class="divider center"></span>
                    </div>
                    <!-- //.col-md-12 -->
                </div>
                <!-- //.row -->
                
                <!-- PORTFOLIO START -->
                <div class="portfolio">
                    <div class="row">
                        <div class="item col-sm-6 col-md-3">
                            <div class="project-wrapper">
                                <div class="project-link">
                                    <a href="https://bootdey.com/img/Content/avatar/avatar1.png" class="zoom" title="Buzz Lightyear">
                                        <i class="icon-Full-Screen"></i>
                                    </a>

                                    <a href="#" target="_blank" class="external-link">
                                        <i class="icon-Link"></i>
                                    </a>
                                </div>
                                <!-- //.project-link -->

                                <div class="project-title">
                                    <h4>Buzz Lightyear</h4>
                                </div>
                                <!-- //.project-title -->

                                <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="" class="img-responsive">
                            </div>
                            <!-- //.project-wrapper -->
                        </div>
                        <!-- //.item -->

                        <div class="item col-sm-6 col-md-3">
                            <div class="project-wrapper">
                                <div class="project-link">
                                    <a href="https://bootdey.com/img/Content/avatar/avatar2.png" class="zoom" title="Robosam 3">
                                        <i class="icon-Full-Screen"></i>
                                    </a>

                                    <a href="#" target="_blank" class="external-link">
                                        <i class="icon-Link"></i>
                                    </a>
                                </div>
                                <!-- //.project-link -->

                                <div class="project-title">
                                    <h4>Robosam 3</h4>
                                </div>
                                <!-- //.project-title -->

                                <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="" class="img-responsive">
                            </div>
                            <!-- //.project-wrapper -->
                        </div>
                        <!-- //.item -->

                        <div class="item col-sm-6 col-md-3">
                            <div class="project-wrapper">
                                <div class="project-link">
                                    <a href="https://bootdey.com/img/Content/avatar/avatar4.png" class="zoom" title="Coke Man and Dog">
                                        <i class="icon-Full-Screen"></i>
                                    </a>

                                    <a href="#" target="_blank" class="external-link">
                                        <i class="icon-Link"></i>
                                    </a>
                                </div>
                                <!-- //.project-link -->

                                <div class="project-title">
                                    <h4>Coke Man and Dog</h4>
                                </div>
                                <!-- //.project-title -->

                                <img src="https://bootdey.com/img/Content/avatar/avatar4.png" alt="" class="img-responsive">
                            </div>
                            <!-- //.project-wrapper -->
                        </div>
                        <!-- //.item -->

                        <div class="item col-sm-6 col-md-3">
                            <div class="project-wrapper">
                                <div class="project-link">
                                    <a href="https://bootdey.com/img/Content/avatar/avatar6.png" class="zoom" title="Speed Projects">
                                        <i class="icon-Full-Screen"></i>
                                    </a>

                                    <a href="#" target="_blank" class="external-link">
                                        <i class="icon-Link"></i>
                                    </a>
                                </div>
                                <!-- //.project-link -->

                                <div class="project-title">
                                    <h4>Speed Projects</h4>
                                </div>
                                <!-- //.project-title -->

                                <img src="https://bootdey.com/img/Content/avatar/avatar6.png" alt="" class="img-responsive">
                            </div>
                            <!-- //.project-wrapper -->
                        </div>
                        <!-- //.item -->

                        <div class="item col-sm-6 col-md-3">
                            <div class="project-wrapper">
                                <div class="project-link">
                                    <a href="https://bootdey.com/img/Content/avatar/avatar7.png" class="zoom" title="Wooden Rhinoceros Beetle">
                                        <i class="icon-Full-Screen"></i>
                                    </a>

                                    <a href="#" target="_blank" class="external-link">
                                        <i class="icon-Link"></i>
                                    </a>
                                </div>
                                <!-- //.project-link -->

                                <div class="project-title">
                                    <h4>Wooden Rhinoceros Beetle</h4>
                                </div>
                                <!-- //.project-title -->

                                <img src="https://bootdey.com/img/Content/avatar/avatar7.png" alt="" class="img-responsive">
                            </div>
                            <!-- //.project-wrapper -->
                        </div>
                        <!-- //.item -->

                        <div class="item col-sm-6 col-md-3">
                            <div class="project-wrapper">
                                <div class="project-link">
                                    <a href="https://bootdey.com/img/Content/avatar/avatar1.png" class="zoom" title="The First Encounter">
                                        <i class="icon-Full-Screen"></i>
                                    </a>

                                    <a href="#" target="_blank" class="external-link">
                                        <i class="icon-Link"></i>
                                    </a>
                                </div>
                                <!-- //.project-link -->

                                <div class="project-title">
                                    <h4>The First Encounter</h4>
                                </div>
                                <!-- //.project-title -->

                                <img src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="" class="img-responsive">
                            </div>
                            <!-- //.project-wrapper -->
                        </div>
                        <!-- //.item -->

                        <div class="item col-sm-6 col-md-3">
                            <div class="project-wrapper">
                                <div class="project-link">
                                    <a href="https://bootdey.com/img/Content/avatar/avatar2.png" class="zoom" title="Dead Pool">
                                        <i class="icon-Full-Screen"></i>
                                    </a>

                                    <a href="#" target="_blank" class="external-link">
                                        <i class="icon-Link"></i>
                                    </a>
                                </div>
                                <!-- //.project-link -->

                                <div class="project-title">
                                    <h4>Dead Pool</h4>
                                </div>
                                <!-- //.project-title -->

                                <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="" class="img-responsive">
                            </div>
                            <!-- //.project-wrapper -->
                        </div>
                        <!-- //.item -->

                        <div class="item col-sm-6 col-md-3">
                            <div class="project-wrapper">
                                <div class="project-link">
                                    <a href="https://bootdey.com/img/Content/avatar/avatar3.png" class="zoom" title="Rebus II">
                                        <i class="icon-Full-Screen"></i>
                                    </a>

                                    <a href="#" target="_blank" class="external-link">
                                        <i class="icon-Link"></i>
                                    </a>
                                </div>
                                <!-- //.project-link -->

                                <div class="project-title">
                                    <h4>Rebus II</h4>
                                </div>
                                <!-- //.project-title -->

                                <img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="" class="img-responsive">
                            </div>
                            <!-- //.project-wrapper -->
                        </div>
                        <!-- //.item -->
                    </div>
                    <!-- //.row -->
                </div>
                <!-- PORTFOLIO END -->
            </div>
            <!-- //.section-content -->
        </div>
        <!-- //.container-fluid -->
    </section>

CSS code

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




/*---------------------------------------------------------------------*/
/*  6.2. SECTION - PORTFOLIO
/*---------------------------------------------------------------------*/
#portfolio {
  position: relative;
  z-index: 5;
  background-color: #171717;
}

#portfolio .section-wrapper > .section-content {
  padding-bottom: 0px;
}

.portfolio {
  margin-top: 30px;
}

.portfolio .item {
  position: relative;
  padding: 0px;
  max-width: 100%;
}

.portfolio .item > .project-wrapper {
  position: relative;
  z-index: 5;
}

.portfolio .item > .project-wrapper:before {
  position: absolute;
  z-index: 10;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.portfolio .item > .project-wrapper:hover:before {
  background-color: rgba(0, 0, 0, 0.7);
}

.portfolio .item > .project-wrapper:hover > .project-link {
  opacity: 0.9;
}

.portfolio .item > .project-wrapper:hover > .project-link > a.zoom {
  left: 0;
}

.portfolio .item > .project-wrapper:hover > .project-link > a.external-link {
  left: 40px;
}

.portfolio .item > .project-wrapper:hover > .project-title > h4 {
  margin-top: 0px;
  opacity: 1;
}

.portfolio .item > .project-wrapper > .project-link {
  position: absolute;
  z-index: 20;
  top: 50%;
  left: 50%;
  width: 88px;
  height: 48px;
  margin-top: -48px;
  margin-left: -44px;
  opacity: 0;
}

.portfolio .item > .project-wrapper > .project-link > a {
  display: block;
  position: absolute;
  top: 0;
  width: 48px;
  height: 48px;
  line-height: 48px;
  color: #ffffff;
  font-size: 20px;
  text-align: center;
  border-radius: 50%;
}

.portfolio .item > .project-wrapper > .project-link > a.zoom {
  left: 40px;
  background-color: #2e2e2e;
}

.portfolio .item > .project-wrapper > .project-link > a.external-link {
  left: 0;
  background-color: #c80a48;
}

.portfolio .item > .project-wrapper > .project-title > h4 {
  display: block;
  position: absolute;
  z-index: 15;
  top: 50%;
  left: 0;
  width: 100%;
  height: 48px;
  line-height: 48px;
  margin-top: -48px;
  text-align: center;
  opacity: 0;
  -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.filterable-portfolio-nav {
  margin: 30px 0px 5px;
}

@media (max-width: 599px) {
  .filterable-portfolio-nav a {
    margin-bottom: 15px;
  }
}

Similar snippets

Bootstrap example and template. gallery item

gallery item

Bootstrap example and template. portfolio grid with filter menu and isotopejs

portfolio grid with filter menu and isotopejs

Bootstrap example and template. collage gallery

collage gallery

Bootstrap example and template. User Profile with tabs

User Profile with tabs

Bootstrap example and template. accordion collapse buttons

accordion collapse buttons

Bootstrap example and template. unify colorful notifications

unify colorful notifications

Bootstrap example and template. portfolio with category filter using isotope js

portfolio with category filter using isotope js

Bootstrap example and template. bs5 dark footer

bs5 dark footer

FAQ

How do I use this snippet?

Include Bootstrap 3.3.6, 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.3.6.

Bootstrap example and template. Porfolio work

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 920+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.

Bootstrap 3.3.6

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

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

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