Responsive Team Section with hover animation using Bootstrap

Responsive Team Section with hover animation using Bootstrap

Hello, and welcome to the blog. Today we will create a snippet on making a Responsive Team Section Design using HTML CSS and Bootstrap. Earlier I have shared a blog on How to Make a Drop Down Menu using HTML and CSS. This tutorial of Team Section Design will use plain HTML, CSS, and CSS framework Bootstrap. We use CSS animation to get a nice hover on the image of Team images.

People working behind a company played a vital role in the company's progress. They are a crucial part of the industry itself. When we visit a website, we observe a section or about us page that includes information on that particular company's workers. Team pages or sections are popular segments of any website.  This section or pages includes all the information of the employees of the industry. It increases the trust of the visitor whenever they try to find information about the company.



In this blog (Responsive Team Section Design using HTML CSS and Bootstrap), we will create a nice CSS transform and scale hover effect on the team member images. Image boxes will contain short information of the employee (like name, designation, and so on), and the social media icons will show up whenever a visitor will hover over the image box. Each social media icon box will have a hover effect as well.

I have taken div named team-area in this snippet, and inside that, I have taken a bootstrap class called the container. After placing a header text, I have taken three div with bootstrap grid column classes inside row class so that the image boxes automatically fit in different devices. Inside the bootstrap grid classes, I have taken a custom class named single-team inside, which I placed all the contents necessary like image, information of the pictures, font-awesome icons, etc. For the implementation of this snippet, you need to add bootstrap and font-awesome CDN along with an external CSS file to your project.

We are moving on to CSS code. First, we will start by giving a background color to the body. After providing some basic styling to the header text, I have given a padding-top value to team-area class. Then I have provided a background color to a single-team class. I want the image to scale it bigger when I hover over the single-team div. For that, I have given the picture a transform scale value of 1.2. for the smooth transition, I have also provided a transition value for the image. Now I want the social div to create a rotating effect when I hover over the image boxes. For that, I have provided a transform rotateY value of 180deg and scale(0.5, 0.5) to the social div.  The image information will remain static down below the image. So I gave the img-text class element some basic style that makes them look stylish for the project.

You may also like:


Team Section Design using Bootstrap (Source Code):

To create this, you need to create two files. One of them is an HTML file, and the other one is the CSS file. After that, you need to copy the HTML and CSS code and paste the code to the appropriate files and save them.

HTML:




CSS:




I hope you find it useful. Thank you very for stopping by in this blog. Please visit more often to get this kind of snippet.

Please do not enter any spam link in the comment box.

Post a Comment

Please do not enter any spam link in the comment box.

Post a Comment (0)

Previous Post Next Post