Coder Wrap provides free to use snippets Coder Wrap provides free to use snippets

Back to Web elements
Preview Source Code
Download
HTML
CSS
/**Typeo CSS Start**/
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,400;0,500;0,700;0,800;1,300;1,400;1,500;1,600;1,700&display=swap');

* {
 box-sizing: border-box;
}

body {
 margin: 0px;
 background-color: #ffffff;
}

/**Typeo CSS End**/
.shopby-brands-scn, .shopby-brands-scn * {
 --page-width: 1250px;
 --base-fm: 'Rubik', sans-serif;
 --title-size: 32px;
 --base-size: 16px;
 --white-clr: #ffffff;
 --theme-clr: #eb971c;
 --bg-clr: #efedeb;
}

/**Testimonial Section Start**/
.shopby-brands-scn {
 font-family: var(--base-fm);
 font-size: var(--base-size);
 padding: 60px 0px;
}

.shopby-brands-scn .container {
 max-width: var(--page-width);
 margin: auto;
 padding: 0px 15px;
}

.shopby-brands-scn h2 {
 margin: 0px 0px 20px 0px;
 font-weight: 400;
 font-size: var(--title-size);
}

.brands-list {
 display: flex;
 flex-flow: row wrap;
 width: calc(100% + 30px);
 margin-left: -15px;
}

.brands-list .brands-item {
 width: calc(20% - 30px);
 margin: 15px;
 border: 1px solid #ebebeb;
 border-radius: 6px;
 text-align: center;
 transition: 0.5s all;
 color: #2c2c2c;
 text-decoration: none;
}

.brands-list .brands-item:hover {
 box-shadow: 0 1px 8px #ddd;
}

.brands-item .brand_image {
 display: flex;
 justify-content: center;
 align-items: center;
 min-height: 120px;
}

.brands-item .brand-content {
 background-color: #ebebeb;
 display: flex;
 flex-direction: column;
 min-height: 70px;
 align-items: center;
 justify-content: center;
 line-height: normal;
 padding: 10px;
}

.brand-content .brand_name {
 display: inline-block;
 line-height: 1.3;
 margin-bottom: 4px;
}

.brand-content  .product_count {
 opacity: 0.6;
 font-size: 14px;
 line-height: 1.4;
}

Related Web Elements