Our Team Section Design using HTML and CSS

Our Team Section Design using HTML and CSS

Our Team Section Design using HTML and CSS

In this article, you will learn how to create Our Team Section Design using HTML and CSS. Earlier I created Responsive Team Section using Bootstrap.

 Currently, this type of design is used in different personal, business websites. This enhances the quality of the website as well as user satisfaction. Using this type of our team HTML CSS, you can beautifully arrange the basic information of the members of your company or group with pictures. 

I have added a hover effect in this design which will catch your attention. Creative Our Team Section Design I took with the help of HTML and CSS. Below I have given a demo that will help you to know how this CSS team page works.

See the Pen
Our Team Section with Hover Effect
by Raj Template (@RajTemplate)
on CodePen.

First I designed the webpage then placed the three images here in a circular motion at a certain distance. I have used the border radius of CSS code to make the images round. 

Under normal circumstances, only images can be seen. Whenever you click on that round image, the images will go up and the rest of the information will be seen below. In addition, the image will be round to rectangular in shape. For information here I have used names, some basic descriptions, and three social media icons.

Our Team Section using HTML and CSS

 Follow your full tutorial if you want to know how to create a Creative Our Team Section. HTML code helps to add basic information and images. Then with the help of CSS code, I designed it completely. However, it is not responsive. You can already see my other designs if you want to be responsive.

You need to have an idea about basic HTML and CSS to create this project. If you want the source code, use the download button at the bottom of the article.

Step 1: Create the basic structure of Team Section

Using the HTML and CSS code below I have created the basic structure of the team section in this response. First I designed the webpage a bit and created a round background of profile cards. The width and height of this background are 220px and the background color is white. 

<div class=”main”>
 <div class=”profile-card”>
 </div>
</div>
   * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: Exo;
   }
   .main{
     width: 100%;
     height: 100vh;
     display: flex;
     justify-content: center;
     align-items: center;
     background-color: #0c5db9;
   }
   .profile-card{
     position: relative;
     font-family: sans-serif;
     width: 220px;
     height: 220px;
     background: #fff;
     padding: 30px;
     border-radius: 50%;
     box-shadow: 0 0 22px #3336;
     transition: .6s;
     margin: 0 25px;
   }
Create the basic structure of Team Section

I have added a hover effect to this box using below CSS code. Whenever you move or click the mouse on this round box, the box will take on a rectangular shape and the height will be 260 px.

   .profile-card:hover{
     border-radius: 10px;
     height: 260px;
   }
added a hover effect

Step 2: Add a profile image in the box

Now I have added an image to this background. HTML’s image tags helped to add the image. Then I designed that image with the help of CSS code.

 <div class=”img”>
   <img src=”team-1.jpg”>
 </div>
   .profile-card .img{
     position: relative;
     width: 100%;
     height: 100%;
     transition: .6s;
     z-index: 99;
   }
   .img img{
     width: 100%;
     border-radius: 50%;
     box-shadow: 0 0 22px #3336;
     transition: .6s;
   }
Add a profile image in the box

With the help of CSS below, I have added a hover effect on the images. Whenever you click on this image or move the mouse, the image will move up to 80px. For this, I have used transform: translateY (-60px) which will help to change something along the y-axis.

   .profile-card:hover .img{
     transform: translateY(-60px);
   }
   .profile-card:hover img{
     border-radius: 10px;
   }

Step 3: Add a description to our team design

In the description, I have added basic information i.e. some text. Under normal conditions, it will be hidden because the image will be on it. When the mouse is moved over it, the images will move upwards and then the information will be visible.

<div class=”caption”>
  <h3>Vin Diesel</h3>
  <p>Senior App Developer</p>
</div>
   .caption{
     text-align: center;
     transform: translateY(-80px);
     opacity: 0;
     transition: .6s;
   }
   .profile-card:hover .caption{
     opacity: 1;
   }
   .caption h3{
     font-size: 21px;
     font-family: sans-serif;
   }
   .caption p{
     font-size: 15px;
     color: #0c52a1;
     font-family: sans-serif;
     margin: 2px 0 9px 0;
   }
Add a description to our team design

Step 4: Add social icons to the Responsive Team Section

I added social media icons to the profile card. Here I have added three social media icons so you can increase the amount if you want. If you increase the number of icons on social media then you need to make some special changes in the CSS code. Add the font awesome CDN link to your HTML file to make the icons work.

<div class=”social-links”>
  <a href=”#”><i class=”fab fa-facebook”></i></a>
  <a href=”#”><i class=”fab fa-instagram”></i></a>
  <a href=”#”><i class=”fab fa-twitter”></i></a>
</div>
   .caption .social-links a{
     color: #333;
     margin-right: 15px;
     font-size: 21px;
     transition: .6s;
   }
   .social-links a:hover{
     color: #0c52a1;
   }
Add social icons to the Responsive Team Section

Step 5: Add more designs to make our team HTML CSS

Now is the time to add more profile designs like the ones above. Here I have used three designs. So now I have added two other cards. No need to add a separate CSS code here. It will work on the same CSS code. Something has changed here, such as images and text.

<div class=”profile-card”>
   <div class=”img”>
      <img src=”team-2.jpg”>
   </div>
   <div class=”caption”>
     <h3>David Corner</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-instagram”></i></a>
      <a href=”#”><i class=”fab fa-twitter”></i></a>
    </div>
  </div>
</div>
<div class=”profile-card”>
  <div class=”img”>
     <img src=”team-3.jpg”>
  </div>
  <div class=”caption”>
    <h3>Tom Cruise</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-instagram”></i></a>
    <a href=”#”><i class=”fab fa-twitter”></i></a>
  </div>
 </div>
</div>
Our Team Section using HTML and CSS

 As you can see in the picture above, now this Responsive Our Team Section is designed to enhance the beauty and quality of your website. If you know how I made it from this tutorial, Please share it

In the meantime, I have shown the design of many more Responsive Our Team using Bootstrap. If you want to get this kind of tutorial, you can follow me on Instagram(@foolishdeveloper).