Coder Wrap provides free to use snippets Coder Wrap provides free to use snippets

🗙
Login
Register

Create Account

Cancel
Back to Web elements
Preview Source Code
Download
HTML
CSS
/**Typeo CSS Start**/
* {
 box-sizing: border-box;
}

body {
 margin: 0px;
}

/**Typeo CSS End**/
img {
 max-width: 100%;
}

.team-scn *, .team-scn {
 --base-fm: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
 --container-w: 1260px;
 --base-size: 20px;
 --theme-clr: #cbc9f3;
 --title: 35px;
 --base-clr: #999999;
 --white-clr: #ffffff;
 --black-clr: #000000;
 --bg-clr: #f2f7fa;
}

.container {
 max-width: var(--container-w);
 width: 100%;
 padding: 0 15px;
 margin: auto;
}

.team-scn {
 background-color: var(--bg-clr);
 font-family: var(--base-fm);
 padding: 60px 0px;
 font-size: var(--base-size);
}

.team-scn h2 {
 margin-top: 0px;
 margin-bottom: 30px;
 font-size: var(--title);
 font-family: var(--base-fm);
 color: var(--black-clr);
 position: relative;
}

.team-list {
 display: flex;
 flex-flow: row wrap;
 justify-content: center;
 align-items: center;
 min-height: 310px;
 font-family: var(--base-fm);
 width: calc(100% + 20px);
 margin-left: -10px;
}

.profile-card {
 transition: .6s;
 flex: 0 0 calc(25% - 20px);
 margin: 10px 10px;
 overflow: hidden;
 text-align: left;
}

.profile-card .img {
 transition: .6s;
 overflow: hidden;
 margin: auto;
 position: relative;
}

.profile-card .img img {
 object-fit: cover;
 height: 100%;
 width: 100%;
 display: block;
}

.profile-card .tm-name {
 margin: 10px 0px 5px 0px;
 font-weight: 700;
 display: inline-block;
 width: 100%;
}

.profile-card .designation {
 color: var(--black-clr);
 margin: 2px 0 15px 0;
 display: inline-block;
 width: 100%;
 font-size: calc(var(--base-size) - 2px)
}

.social-links {
 background-color: var(--white-clr);
 padding: 2px;
 bottom: -100%;
 position: absolute;
 left: 10px;
 margin: auto;
 transition: 0.8s all;
 box-shadow: 0 0 6px #3336;
}

.profile-card:hover .social-links {
 bottom: 10px;
}

.social-links a {
 width: 32px;
 margin: 6px 6px;
 display: inline-block;
 height: 32px;
 transition: 0.5s all;
 padding: 8px;
 border: var(--black-clr) 1px solid;
 display: flex;
 flex-flow: row wrap;
 align-items: center;
}

.social-links a:hover {
 background-color: var(--black-clr);
}

.social-links a:hover img {
 filter: brightness(0) invert(1);
}

.social-links a img {
 border: none;
 box-shadow: none;
 width: 100%;
 border-radius: 0px;
}

@media(max-width:992px) {
 .team-scn h2 {
  font-size: calc(var(--title) - 10px);
  margin-bottom: 10px;
 }

 .team-list {
  width: calc(100% + 10px);
  margin-left: -5px;
 }

 .profile-card {
  margin: 5px;
  flex: 0 0 calc(50% - 10px);
 }

 .social-links {
  bottom: 5px;
  min-width: 100px;
  padding: 4px;
 }

 .social-links a {
  width: 24px;
  margin: 0px 2px;
  height: 24px;
  padding: 6px;
 }

}

Related Web Elements