People working behind a company play 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 page 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.
Video Tutorial:
We have taken a div named team-area in this snippet, and inside that, We have taken a bootstrap class called the container. After placing a header text, We 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, We have taken a custom class named single-team inside, in which we placed all the contents necessary like images, 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, We have given a padding-top value to the team-area class. Then we provided a background color to a single-team class. We want the image to scale it bigger when we hover over the single-team div. For that, We have given the picture a transform scale value of 1.2. for the smooth transition, We have also provided a transition value for the image. Now we want the social div to create a rotating effect when we hover over the image boxes. For that, We 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 we gave the img-text class element some basic style that makes them look stylish for the project.
You may also like:
- Responsive Homepage Design using HTML CSS
- Navigation Bar with Slider
- Responsive Infinite Client Logo Slider
Team Section Design using Bootstrap [ Source Code ]:
To create this responsive responsive team section using Bootstrap, you need to create two files. One of them is an HTML file, and the other one is a CSS file. You also need to add Bootstrap and Font Awesome CDN as well. After that, you need to copy the HTML and CSS code, paste the code to the appropriate files, and save them. You can download the source code from the download button below this blog post.
CSS:
Post a Comment
Please do not enter any spam link in the comment box.