Bootstrap snippet and html example. bs4 team with zoom effect

Bootstrap 4.3.1 snippet "bs4 team with zoom effect" with HTML, CSS, and JS. Copy, paste, and customize this responsive UI component for your project.
Tags: team

HTML code

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

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<div class="container">
    <div class="row">
        <div class="col-md-4 col-sm-4 col-xs-12">
            <div class="team-boxes">
                <div class="team-thumb overlay-image view-overlay">
                    <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="">
                    <div class="clear">
                    </div>
                    <div class="mask team_quote">
                        <div class="port-zoom-link">
                            <p>
                                <span class="accentcolor" style="font-weight:700;">MOTTO</span>
                                <br>
                                <i>"All the world's a stage<br>And all the men and women merely players"</i>
                            </p>
                        </div>
                    </div>
                </div>
                <div class="team-info">
                    <h2>Kathleen Walsh</h2>
                    <p>
                        Logistic Stuff
                    </p>
                </div>
                <div class="separator">
                </div>
                <div class="team-social">
                    <a href=""><i class="fa fa-facebook-square"></i></a>
                    <a href=""><i class="fa fa-twitter"></i></a>
                    <a href=""><i class="fa fa-google-plus"></i></a>
                    <a href=""><i class="fa fa-linkedin"></i></a>
                    <a href=""><i class="fa fa-envelope"></i></a>
                </div>
            </div>
        </div>
        
        <div class="col-md-4 col-sm-4 col-xs-12">
            <div class="team-boxes">
                <div class="team-thumb overlay-image view-overlay">
                    <img src="https://bootdey.com/img/Content/avatar/avatar3.png" alt="">
                    <div class="clear">
                    </div>
                    <div class="mask team_quote">
                        <div class="port-zoom-link">
                            <p>
                                <span class="accentcolor" style="font-weight:700;">ABOUT ME:)</span>
                                <br> "I have all these great genes, but they're recessive"
                            </p>
                        </div>
                    </div>
                </div>
                <div class="team-info">
                    <h2>Georgia Mccormick</h2>
                    <p>
                        Photographer
                    </p>
                </div>
                <div class="separator">
                </div>
                <div class="team-social">
                    <a href=""><i class="fa fa-facebook-square"></i></a>
                    <a href=""><i class="fa fa-twitter"></i></a>
                    <a href=""><i class="fa fa-google-plus"></i></a>
                    <a href=""><i class="fa fa-linkedin"></i></a>
                    <a href=""><i class="fa fa-envelope"></i></a>
                </div>
            </div>
        </div>
        <div class="col-md-4 col-sm-4 col-xs-12">
            <div class="team-boxes">
                <div class="team-thumb overlay-image view-overlay">
                    <img src="https://bootdey.com/img/Content/avatar/avatar2.png" alt="">
                    <div class="clear">
                    </div>
                    <div class="mask team_quote">
                        <div class="port-zoom-link">
                            <p>
                                <span class="accentcolor" style="font-weight:700;">SHOULD I QUOTE?</span>
                                <br> "It's knowing what needs to be done that brings strength!"
                            </p>
                        </div>
                    </div>
                </div>
                <div class="team-info">
                    <h2>Marjorie Watson</h2>
                    <p>
                        Marketing
                    </p>
                </div>
                <div class="separator">
                </div>
                <div class="team-social">
                    <a href=""><i class="fa fa-facebook-square"></i></a>
                    <a href=""><i class="fa fa-twitter"></i></a>
                    <a href=""><i class="fa fa-google-plus"></i></a>
                    <a href=""><i class="fa fa-linkedin"></i></a>
                    <a href=""><i class="fa fa-envelope"></i></a>
                </div>
            </div>
        </div>
    </div>
</div>

CSS code

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

body{
    margin-top:20px;
    background:#eee;
}
/*=========================*/
/* Team Boxes */
/*=========================*/
.team-body {
    width:100%;
	height:100%;
	margin:0;
}
.team-wrap {
	width:100%;
	margin:0 auto;
	display:table;
}
.team-wrap img {
	width:100%;
}
.team-boxes {
	background:#fff;
	padding:0;
}
.team-boxes .separator {
	height:1px;
	width:36px;
	margin:7px 0 7px 20px;
	clear:both;
	background-color:#20b2aa;
}
.team-boxes .team_quote p {
	font-size:14px;
	color:rgba(255,255,255,0.8);
	font-weight:300;
	letter-spacing:1px;
}
.team-info {
	text-align:left;
	margin:15px auto 0 auto;
	padding:0 20px;
}
.team-info p {
	margin:0;
	padding:0;
	font-size:14px;
	color:#5A5A5A;
	text-transform:uppercase;
	font-weight:300;
}
.team-info h2 {
	margin:0;
	padding:5px 0 6px 0;
	font-size:16px;
	font-weight:600;
	text-transform:uppercase;
	color:#444;
	letter-spacing:1px;
}
.team-social {
	width:100%;
	margin-top:19px;
	padding:5px 20px 26px 20px;
}
.team-social a {
	background:#FFF;
	height:40px;
	width:40px;
	text-align:center;
	border-radius:5px;
	color:#494949;
	line-height:40px;
	font-size:15px;
	border:solid 1px #eee;
	-webkit-transition:all 0.3s ease-in;
	-moz-transition:all 0.3s ease-in;
	-o-transition:all 0.3s ease-in;
	transition:all 0.3s ease-in;
	display:inline-block;
	margin-bottom:3px;
	margin-right:4px;
}
.team-social a:hover {
	border:solid 1px #4a4a4a;
}
.overlay-image {
	width:100%;
	height:100%;
	overflow:hidden;
	position:relative;
	text-align:center;
	background:#303543;
}
.overlay-image .mask,.overlay-image .content {
	width:100%;
	height:100%;
	position:absolute;
	overflow:hidden;
	top:0;
	left:0;
}
.view-overlay img {
	-webkit-transform:scaleY(1);
	-moz-transform:scaleY(1);
	-o-transform:scaleY(1);
	-ms-transform:scaleY(1);
	transform:scaleY(1);
	-webkit-transition:all 0.7s ease-in-out;
	-moz-transition:all 0.7s ease-in-out;
	-o-transition:all 0.7s ease-in-out;
	-ms-transition:all 0.7s ease-in-out;
	transition:all 0.7s ease-in-out;
}
.view-overlay .mask {
	-webkit-transition:all 0.5s linear;
	-moz-transition:all 0.5s linear;
	-o-transition:all 0.5s linear;
	-ms-transition:all 0.5s linear;
	transition:all 0.5s linear;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter:alpha(opacity=0);
	opacity:0;
}
.port-zoom-link {
	position:absolute;
	top:30%;
	right:0;
	bottom:0;
	left:0;
	margin:auto;
	padding:0 20px;
}
.view-overlay:hover img {
	-webkit-transform:scale(10);
	-moz-transform:scale(10);
	-o-transform:scale(10);
	-ms-transform:scale(10);
	transform:scale(10);
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter:alpha(opacity=0);
	opacity:0;
}
.view-overlay:hover .mask {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter:alpha(opacity=100);
	opacity: 1;
}

Similar snippets

Bootstrap example and template. Project Team

Project Team

Bootstrap example and template. creative team with right content on hover

creative team with right content on hover

Bootstrap example and template. Team member

Team member

Bootstrap example and template. bs4 team list

bs4 team list

Bootstrap example and template. bs5 dark footer

bs5 dark footer

Bootstrap example and template. Timeline with small images

Timeline with small images

Bootstrap example and template. profile edit data and skills

profile edit data and skills

Bootstrap example and template. Real Estates Property Detail

Real Estates Property Detail

FAQ

How do I use this snippet?

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

Bootstrap example and template. bs4 team with zoom effect

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

Bootstrap 4.3.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.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

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