Home Web DevelopmentCSS Animation Animated Our Team Section Design Using HTML and CSS

Animated Our Team Section Design Using HTML and CSS

by techmidpoint

Animated Our Team Section Design Using HTML and CSS

Hello, friends welcome to your in-techmidpoint tutorial. In this tutorial, I am going to make an awesome Animated Our Team Section Design Using HTML and CSS. First, you need some images to design our team section.

HTML


<!DOCTYPE html>
<html>
<head>
    <title> Our Team Section Design</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css" rel="stylesheet">
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="main">

        <div class="profile-card">
            <div class="img">
                <img src="bg1.jpeg">
            </div>
            <div class="caption">
                <h3>Prinka</h3>
                <p>App Developer</p>
                <div class="social-links">
                    <a href="#"><i class="fab fa-facebook"></i></a>
                    <a href="#"><i class="fab fa-twitter"></i></a>
                    <a href="#"><i class="fab fa-instagram"></i></a>
                    <a href="#"><i class="fab fa-youtube"></i></a>
                </div>
            </div>
        </div>

        <div class="profile-card">
            <div class="img">
                <img src="bg2.jpg">
            </div>
            <div class="caption">
                <h3>Ramesh</h3>
                <p>Front End Developer</p>
                <div class="social-links">
                    <a href="#"><i class="fab fa-facebook"></i></a>
                    <a href="#"><i class="fab fa-twitter"></i></a>
                    <a href="#"><i class="fab fa-instagram"></i></a>
                    <a href="#"><i class="fab fa-youtube"></i></a>
                </div>
            </div>
        </div>

        <div class="profile-card">
            <div class="img">
                <img src="bg3.jpg">
            </div>
            <div class="caption">
                <h3>Krishtina</h3>
                <p>Full Stact Developer</p>
                <div class="social-links">
                    <a href="#"><i class="fab fa-facebook"></i></a>
                    <a href="#"><i class="fab fa-twitter"></i></a>
                    <a href="#"><i class="fab fa-instagram"></i></a>
                    <a href="#"><i class="fab fa-youtube"></i></a>
                </div>
            </div>
        </div>
    </div>
</body>
</html>

CSS

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: arial;
}
.main{
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ad74e2;
}
.profile-card{
  position: relative;
  width: 250px;
  height: 250px;
  background: #fff;
  padding: 30px;
  border-radius: 50%;
  box-shadow: 0 0 22px #3336;
  transition: .6s;
  margin: 0 25px;

}
.profile-card:hover{
  border-radius: 10px;
  height: 260px;
}
.profile-card .img{
  position: relative;
  width: 100%;
  height: 100%;
  transition: .6s;
  z-index: 99;
  cursor: pointer;
}
.img img{
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 22px #3336;
  transition: .6s;
}
.profile-card:hover .img{
  transform: translateY(-90px);
}
.profile-card:hover img{
  border-radius: 10px;
}
.caption{
  text-align: center;
  transform: translateY(-80px);
  opacity: 0;
  transition: .6s;
}
.profile-card:hover .caption{
  opacity: 1;
}
.caption h3{
  font-size: 25px;

}
.caption p{
  font-size: 17px;
  color: #0c52a1;
  font-weight: bold;
}
.social-links a{
  color: #333;
  font-size: 21px;
  transition: .6s;
  
}
i{
  margin-top: 10px;
  padding: 5px;
}
.social-links a:hover{
  color: #0c52a1;
}

For More Tutorials Please Click Here

Related Posts

Leave a Comment