logo

Cartes hover réseau sociaux

Html

<section class="team-section">
<div class="container">
<div class="columns is-multiline is-centered ">

<div class="column is-3 team-block">
<div class="image-box">
<figure class="image"><img src="https://loremflickr.com/370/400?random=1" alt=""></figure>
<div class="info-box">
<h4 class="name">Tiny Moleski</h4>
<span class="designation">Project Manager</span>
<ul class="social-links">
<li><a href="#"><span class="fab fa-facebook-f"></span></a></li>
<li><a href="#"><span class="fab fa-twitter"></span></a></li>
<li><a href="#"><span class="fab fa-pinterest"></span></a></li>
<li><a href="#"><span class="fab fa-dribbble"></span></a></li>
</ul>
</div>
</div>
</div>

<div class="column is-3 team-block">
<div class="image-box">
<figure class="image"><img src="https://loremflickr.com/370/400?random=2" alt=""></figure>
<div class="info-box">
<h4 class="name">Buffy Edelen</h4>
<span class="designation">Deliver Manager</span>
<ul class="social-links">
<li><a href="#"><span class="fab fa-facebook-f"></span></a></li>
<li><a href="#"><span class="fab fa-twitter"></span></a></li>
<li><a href="#"><span class="fab fa-pinterest"></span></a></li>
<li><a href="#"><span class="fab fa-dribbble"></span></a></li>
</ul>
</div>
</div>
</div>

<div class="column is-3 team-block">
<div class="image-box">
<figure class="image"><img src="https://loremflickr.com/370/400?random=3" alt=""></figure>
<div class="info-box">
<h4 class="name">Jack Monika</h4>
<span class="designation">Technical Specialist</span>
<ul class="social-links">
<li><a href="#"><span class="fab fa-facebook-f"></span></a></li>
<li><a href="#"><span class="fab fa-twitter"></span></a></li>
<li><a href="#"><span class="fab fa-pinterest"></span></a></li>
<li><a href="#"><span class="fab fa-dribbble"></span></a></li>
</ul>
</div>
</div>
</div>


<div class="column is-3 team-block">
<div class="image-box">
<figure class="image"><img src="https://loremflickr.com/370/400?random=4" alt=""></figure>
<div class="info-box">
<h4 class="name">John Jhon</h4>
<span class="designation">Technical Specialist</span>
<ul class="social-links">
<li><a href="#"><span class="fab fa-facebook-f"></span></a></li>
<li><a href="#"><span class="fab fa-twitter"></span></a></li>
<li><a href="#"><span class="fab fa-pinterest"></span></a></li>
<li><a href="#"><span class="fab fa-dribbble"></span></a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>

Css

.team-section{
    position: relative;
    padding: 120px 0 60px;
}

.team-block{
    position: relative;
    margin-bottom: 60px;
}

.team-block .image-box{
    position: relative;
    margin: 0 auto 82px;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.team-block .image-box .image{
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
}

.team-block .image-box .image:before{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    content: "";
    z-index: 1;
    transform: scale(0);
    border-radius: 500px;
    background-color: rgba(255,255,255,.20);
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 200ms ease;
}

.team-block .image-box:hover .image:before{
    -webkit-transform: scale(2);
    -moz-transform: scale(2);
    -ms-transform: scale(2);
    -o-transform: scale(2);
    transform: scale(2);
    -webkit-transition: all 700ms ease;
    -moz-transition: all 700ms ease;
    -ms-transition: all 700ms ease;
    -o-transition: all 700ms ease;
    transition: all 700ms ease;
}

.team-block .image-box .image img{
    display: block;
    width: 100%;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
}

.team-block .image-box:hover .image img{
    transform: scale(1.1);
}

.team-block .info-box{
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 0;
    z-index: 2;
    background-color: rgba(255,255,255,1);
    text-align: center;
    padding: 35px 15px;
    border-radius: 15px;
    overflow: hidden;
    transform: translateY(50%);
    box-shadow: 0 10px 20px rgba(0,0,0,0.10);
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.team-block .info-box .name{
    position: relative;
    display: inline-block;
    font-size: 22px;
    line-height: 1.2em;
    color: #353535;
    font-weight: 500;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ab7442;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.team-block .info-box .designation{
    position: relative;
    display: block;
    font-size: 14px;
    line-height: 1.2em;
    color: #353535;
    font-weight: 400;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.team-block .info-box .social-links{
    position: relative;
    height: 0;
    overflow: hidden;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.team-block .image-box:hover .social-links{
    height: 26px;
    margin-top: 15px;
}

.team-block .info-box .social-links li{
    position: relative;
    display: inline-block;
    margin: 0 8px;
}

.team-block .info-box .social-links li a{
    position: relative;
    display: block;
    font-size: 16px;
    line-height: 26px;
    color: #353535;
    font-weight: 500;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}

.team-block .info-box .social-links li a:hover{
    color: #ab7442;
}

Une idée ? Partagez-la !

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *