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

Back to Web elements
Preview Source Code
Download
HTML
CSS
  /**Typeo CSS Start**/
  @import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,500;0,700;0,800;1,300;1,400;1,500;1,600;1,700&display=swap');
  * {
  box-sizing: border-box;
  }
  body {
  margin: 0px;
  }
  /**Typeo CSS End**/
  img {
   max-width: 100%;
  }
  .team-scn *, .team-scn {
  --base-fm:'Rubik', sans-serif;
  --container-w: 1260px;
  --base-size:16px;
  --theme-clr: #009788;
  --title:40px;
  --base-clr:#999999;
  --white-clr:#ffffff;
  --black-clr:#000000;
  --bg-clr: #5b7695;

  }
  .container{
   max-width: var(--container-w);
   width: 100%;
   padding: 0 15px;
   margin: auto;
  }
  .team-scn{
   background-color: var(--theme-clr);
   text-align: center;
   font-family: var(--base-fm);
   padding: 60px 0px;
   font-size: var(--base-size);
  }
 .team-scn h2 {
   margin-top: 0px;
   font-size: var(--title);
   font-family: var(--base-fm);
   color: var(--white-clr);
   position: relative;
  }
  .desc {
   max-width: 900px;
   width: 100%;
   margin: auto;
   color: var(--white-clr);
   font-size: var(--base-size);
   font-family: var(--base-fm);
   line-height: 1.5;
   padding: 0px 15px 40px 15px;
  }
  .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 25px 10px;
    position: relative;
    overflow: hidden;
  }
  .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: 0px 0px 5px 0px;
  font-weight: 500;
  display: inline-block;
  width: 100%;
  }
  .profile-card .caption {
    width: calc(100% - 30px);
    margin: auto;
    border-radius: 2px;
    padding: 10px;
    background-color: var(--theme-clr);
    color: var(--white-clr);
    transition: 0.5s all;
    margin-top: -40px;
    z-index: 1;
    position: relative;
  }
  .profile-card .designation{
  margin: 2px 0 10px 0;
  display: inline-block;
  width: 100%;
  font-size: calc(var(--base-size) - 4px)
  }
.social-links {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}
.social-links a {
    width: 32px;
    margin: 0px 4px;
    height: 32px;
    transition: 0.5s all;
    padding: 8px;
    border: var(--white-clr) 1px solid;
    border-radius: 100%;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    
}
.social-links a img {
 filter: brightness(0) invert(1);
}
.social-links a:hover {
  background-color: var(--black-clr);
   border-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;
}
.profile-card:hover .caption {
  opacity: 1;
  bottom: 0px;
}
@media(max-width: 992px) {
  .team-scn{
    padding: 30px 0;
  }
 .team-scn h2 {
  font-size: calc(var(--title) - 10px);
  margin-bottom: 10px;
 }
 .desc {
  padding:0px 0 20px 0;
 }
 .team-list{
  width: calc(100% + 10px);
  margin-left:-5px;
 }
 .profile-card{
  margin: 5px 5px 5px 5px;
  flex: 0 0 calc(50% - 10px);
 }
 .profile-card .caption {
  opacity: 1;
  bottom: 0px;
  padding: 5px;
 }
 .profile-card .tm-name {
  margin: 0px;
 }
 .profile-card .designation {
    font-size: calc(var(--base-size) - 6px);
    margin-bottom: 5px;
  }
 .social-links {bottom: 5px;
    min-width: 100px;

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

Related Web Elements