How TO – “Meet The Team” Page


Previous


Next

Learn how to create responsive “Meet The Team” page with CSS.

“Meet the team” pages/sections are often used to list the employers in a firm, with specified contact information:

 




Responsive “Meet The Team” Section

Resize the browser window to see the effect.

Jane

Jane Doe

CEO & Founder

Some text that describes me lorem ipsum ipsum lorem.

example@example.com

Mike

Mike Ross

Art Director

Some text that describes me lorem ipsum ipsum lorem.

example@example.com

John

John Doe

Designer

Some text that describes me lorem ipsum ipsum lorem.

example@example.com


Example

<!DOCTYPE html>
<html>
<head>
<meta name=”viewport” content=”width=device-width, initial-scale=1″>
<style>
html {
box-sizing: border-box;
}

*, *:before, *:after {
box-sizing: inherit;
}

.column {
float: left;
width: 33.3%;
margin-bottom: 16px;
padding: 0 8px;
}

@media screen and (max-width: 650px) {
.column {
width: 100%;
display: block;
}
}

.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.container {
padding: 0 16px;
}

.container::after, .row::after {
content: “”;
clear: both;
display: table;
}

.title {
color: grey;
}

.button {
border: none;
outline: 0;
display: inline-block;
padding: 8px;
color: white;
background-color: #000;
text-align: center;
cursor: pointer;
width: 100%;
}

.button:hover {
background-color: #555;
}
</style>
</head>
<body>

<h2>Responsive “Meet The Team” Section</h2>
<p>Resize the browser window to see the effect.</p>
<br>

<div>
<div>
<div>
<img src=”/w3images/team1.jpg” alt=”Jane” style=”width:100%”>
<div>
<h2>Jane Doe</h2>
<p>CEO & Founder</p>
<p>Some text that describes me lorem ipsum ipsum lorem.</p>
<p>example@example.com</p>
<p><button>Contact</button></p>
</div>
</div>
</div>

<div>
<div>
<img src=”/w3images/team2.jpg” alt=”Mike” style=”width:100%”>
<div>
<h2>Mike Ross</h2>
<p>Art Director</p>
<p>Some text that describes me lorem ipsum ipsum lorem.</p>
<p>example@example.com</p>
<p><button>Contact</button></p>
</div>
</div>
</div>

<div>
<div>
<img src=”/w3images/team3.jpg” alt=”John” style=”width:100%”>
<div>
<h2>John Doe</h2>
<p>Designer</p>
<p>Some text that describes me lorem ipsum ipsum lorem.</p>
<p>example@example.com</p>
<p><button>Contact</button></p>
</div>
</div>
</div>
</div>

</body>
</html>

How To Create Meet The Team Pages

Step 1) Add HTML:

Example

<div class=”row”>
  <div class=”column”>
    <div class=”card”>
      <img src=”img1.jpg” alt=”Jane” style=”width:100%”>
      <div class=”container”>
        <h2>Jane Doe</h2>
        <p class=”title”>CEO &amp; Founder</p>
        <p>Some text that describes me lorem ipsum ipsum lorem.</p>
        <p>example@example.com</p>
        <p><button class=”button”>Contact</button></p>
      </div>
    </div>
  </div>

  <div class=”column”>
    <div class=”card”>
      <img src=”img2.jpg” alt=”Mike” style=”width:100%”>
      <div class=”container”>
        <h2>Mike Ross</h2>
        <p class=”title”>Art Director</p>
        <p>Some text that describes me lorem ipsum ipsum lorem.</p>
        <p>example@example.com</p>
        <p><button class=”button”>Contact</button></p>
      </div>
    </div>
  </div>

  <div class=”column”>
    <div class=”card”>
      <img src=”img3.jpg” alt=”John” style=”width:100%”>
      <div class=”container”>
        <h2>John Doe</h2>
        <p class=”title”>Designer</p>
        <p>Some text that describes me lorem ipsum ipsum lorem.</p>
        <p>example@example.com</p>
        <p><button class=”button”>Contact</button></p>
      </div>
    </div>
  </div>
</div>

Step 2) Add CSS:

Example

<!DOCTYPE html>
<html>
<head>
<meta name=”viewport” content=”width=device-width, initial-scale=1″>
<style>
html {
box-sizing: border-box;
}

*, *:before, *:after {
box-sizing: inherit;
}

.column {
float: left;
width: 33.3%;
margin-bottom: 16px;
padding: 0 8px;
}

@media screen and (max-width: 650px) {
.column {
width: 100%;
display: block;
}
}

.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.container {
padding: 0 16px;
}

.container::after, .row::after {
content: “”;
clear: both;
display: table;
}

.title {
color: grey;
}

.button {
border: none;
outline: 0;
display: inline-block;
padding: 8px;
color: white;
background-color: #000;
text-align: center;
cursor: pointer;
width: 100%;
}

.button:hover {
background-color: #555;
}
</style>
</head>
<body>

<h2>Responsive “Meet The Team” Section</h2>
<p>Resize the browser window to see the effect.</p>
<br>

<div>
<div>
<div>
<img src=”/w3images/team1.jpg” alt=”Jane” style=”width:100%”>
<div>
<h2>Jane Doe</h2>
<p>CEO & Founder</p>
<p>Some text that describes me lorem ipsum ipsum lorem.</p>
<p>example@example.com</p>
<p><button>Contact</button></p>
</div>
</div>
</div>

<div>
<div>
<img src=”/w3images/team2.jpg” alt=”Mike” style=”width:100%”>
<div>
<h2>Mike Ross</h2>
<p>Art Director</p>
<p>Some text that describes me lorem ipsum ipsum lorem.</p>
<p>example@example.com</p>
<p><button>Contact</button></p>
</div>
</div>
</div>

<div>
<div>
<img src=”/w3images/team3.jpg” alt=”John” style=”width:100%”>
<div>
<h2>John Doe</h2>
<p>Designer</p>
<p>Some text that describes me lorem ipsum ipsum lorem.</p>
<p>example@example.com</p>
<p><button>Contact</button></p>
</div>
</div>
</div>
</div>

</body>
</html>


Previous


Next

Scroll to Top