JSFiddle - React, Tailwind, and code Playground
by mzechar
HTML
<!DOCTYPE html>
<html>
<head>
<title>Leafsnap</title>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="zpracticeTeamStyle.css">
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body>
<section class="content-wrapper team">
<h3>Columbia</h3>
<div class="team-listing">
<ul>
<li>
<div class="team-member-listing-wrapper">
<div class="circle-image-crop">
<img class="team-member-photo" src="http://api.leafsnap.com/v1/team/images/columbia/Peter.jpg">
</div>
Jane Jam
<br>
<span class="bio">lead the design and development of early tablet PC, UMPC, and mobile phone prototypes and helped with the initial design of the current iPhone app.</span>
</div>
</li>
<li>
<div class="team-member-listing-wrapper">
<div class="circle-image-crop">
<img class="team-member-photo" src="http://api.leafsnap.com/v1/team/images/columbia/Peter.jpg">
</div>
Jane Jam
<br>
<span class="bio">lead the design and development of early tablet PC, UMPC, and mobile phone prototypes and helped with the initial design of the current iPhone app.</span>
</div>
</li>
<li>
<div class="team-member-listing-wrapper">
<div class="circle-image-crop">
<img class="team-member-photo" src="http://api.leafsnap.com/v1/team/images/columbia/Peter.jpg">
</div>
Jane Jam
<br>
<span class="bio">lead the design and development of early tablet PC, UMPC, and mobile phone prototypes and helped with the initial design of the current iPhone app.</span>
</div>
</li>
<li>
<div class="team-member-listing-wrapper">
<div...
CSS
section.team {
margin: auto;
overflow: hidden;
background: #FEFEFE;
display: inline-block;
}
.team-listing {
position: relative;
margin-top: 40px;
margin-right: auto;
margin-left: auto;
}
.team-listing li {
display: inline-block;
width: 30%;
overflow: hidden;
float: left;
height: 320px;
list-style-position: inside;
margin-right: 5px;
background-color: #FEFEFE;
}
.bio {
display: inline-block;
text-align: left;
color: #111;
font-size: 1rem;
line-height: 1;
visibility: hidden;
}
.team-member-listing-wrapper {
text-align: center;
vertical-align: top;
width: 100%;
height: 100%;
margin: 0 auto;
display: inline-block;
}
.team-member-listing-wrapper strong {
font-size: 1.125rem;
line-height: 1;
}
.team-listing ul {
display: table;
list-style: none;
box-shadow: 0 0.9375rem 3.75rem rgba(2, 2, 22, 0.1);
white-space: nowrap;
width: 80%;
margin: auto;
}
.circle-image-crop {
width: 180px;
height: 180px;
position: relative;
overflow: hidden;
border-radius: 50%;
margin-left: auto;
margin-right: auto;
margin-top: 20px;
}
.circle-image-crop:hover {
height: 100%;
width: auto;
border-radius: 0%;
}
.circle-image-crop img {
display: inline;
margin: 0 auto;
height: 100%;
width: auto;
}