Client Logo Section using HTML & CSS

Client Logo Section using HTML & CSS

Hello developers, today in this blog, you will learn how to create a Client Logo Section using HTML & CSS.

A client logo is your public proclamation that a national brand trust you. In your webpage, the client logos can be added to show that they are your clients. It shows in your webpage to the users who are the client and how many clients you have and so on. Like many clients, as you have, you can add many logos.

In this blog (Client Logo Section) on the webpage, there are four logos. When you hover on that logo that particular logo goes hidden up and scrolls to the down logo which is hidden at down. The CSS transform property has been used to show the hidden logo or the scroll logo, which is next down to it. On PC, the logos are aligned horizontally and on the smaller screen, they are aligned vertically or one by one.

The source code of this Client logo section using HTML & CSS is given below if you want the source code of this program, you can copy it. You can use this code of the Client Logo Section with your creativity and, can take this project to the next level.

Client Logo Section [Source Code]

To make this website, you would like to make two files: an HTML file & a CSS file. First, create an HTML file with the name of index.html, and remember, you have to create a file with a .html extension.

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Client Logo Section || Learning Robo</title> <link rel="stylesheet" href="style.css"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> </head> <body> <div class="container"> <h1>Our Clients</h1><hr/> <div class="client"> <ul> <li> <img src="https://cdn.pixabay.com/photo/2021/08/27/06/25/wolf-6577886__340.png" alt="client1"> <img src="https://cdn.pixabay.com/photo/2017/01/31/23/42/animal-2028258__340.png" alt="client1"> </li> <li> <img src="https://cdn.pixabay.com/photo/2020/04/24/10/56/music-5086395__340.png" alt="client2"> <img src="https://cdn.pixabay.com/photo/2018/04/11/20/12/silhouette-3311639__340.png" alt="client2"> </li> <li> <img src="https://cdn.pixabay.com/photo/2017/02/01/11/30/cap-2029798__340.png" alt="client3"> <img src="https://cdn.pixabay.com/photo/2014/04/03/10/02/graduation-309661__340.png" alt="client3"> </li> <li> <img src="https://cdn.pixabay.com/photo/2020/06/24/05/23/tree-5334773__340.png" alt="client4"> <img src="https://cdn.pixabay.com/photo/2020/06/24/05/29/tree-5334823__340.png" alt="client4"> </li> </ul> </div> <div class="credit">Made with <span style="color:tomato">❤</span> by <a href="https://www.learningrobo.com/">Learning Robo</a></div> </div> </body> </html>
CSS provides style to an HTML page. To make the page attractive and responsive, create a CSS file with the name style.css and, remember that you have to make a file with a .css extension.


@import url("https://fonts.googleapis.com/css?family=Montserrat:400,400i,700");
*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
body{
	width: 100%;
	height: 100%;
	display: grid;
	align-items: center;
	font-family: 'Barlow', sans-serif;
	background: linear-gradient(to right, #01a9ac, #01dbdf);
}
.container{
	width: 90%;
	margin-top: 50px;
	height: auto;
	text-align: center;
}
.container h1{
	font-size: 60px;
	color: #000;
}
.container hr{
	width: 20%;
	height: 5px;
	border: none;
	background: #000;
	margin: auto;
	margin-top: 30px;
	margin-bottom: 30px;
}
.client{
	width: 100%;
	height: auto;
}
.client ul{
	padding: 0;
	margin: 0;
}
.client ul li{
	list-style: none;
	display: inline-block;
	width: 250px;
	height: 250px;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	justify-content: space-around;
}
.client ul li img{
	width: 100%;
	height: 100%;
	padding: 50px;
}
.client ul li img:nth-child(1){
	transform: translateY(0);
	transition: .5s;
}
.client ul li img:nth-child(2){
	transform: translateY(0);
	transition: .5s;
}
.client ul li:hover img:nth-child(1){
	transform: translateY(-100%);
	transition: .5s;
}
.client ul li:hover img:nth-child(2){
	transform: translateY(-100%);
	transition: .5s;
}
.credit a{
    text-decoration: none;
    color: #000;
    font-weight: 900;
  }
  .credit {
      margin-top: 50px;
      text-align: center;
  }
We hope you would like this Client Logo Section using HTML & CSS.

Thank you for reading our blog. If you face any problem in creating this Client Logo Section using HTML & CSS then contact us or comment us. We’ll try to provide a solution to your problem as soon as possible.

Thank you
Learning robo team

Post a Comment

Thank you
Learning robo team

Post a Comment (0)

Previous Post Next Post
Learning Robo says...
code copied
Welcome