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: #d5d5d5;
}

/**Typeo CSS End**/
.brands-scn, .brands-scn * {
 --page-width: 1230px;
 --base-fm: 'Rubik', sans-serif;
 --title-size: 30px;
 --base-size: 16px;
 --white-clr: #ffffff;
 --bg-clr: #efedeb;
 --bg-black-o: 0, 0, 0;
}

/**Brand Section Start**/
.brands-scn {
 font-family: var(--base-fm);
 background-color: var(--bg-clr);
 padding: 40px 0;
 color: var(--white-clr);
 position: relative;
 text-align: center;
}

.bg-black-o {
 position: absolute;
 left: 0px;
 top: 0px;
 width: 100%;
 height: 100%;
 background-color: rgba(var(--bg-black-o), 0.7);
}

.brands-scn h2 {
 font-size: var(--title-size);
 margin: 0px 0 20px 0;
 position: relative;
 z-index: 1;
}

.desc {
 max-width: 800px;
 margin: auto;
 padding: 0px 0 20px 0;
 color: var(--white-clr);
 position: relative;
 line-height: 1.4;
}

.page-width {
 max-width: var(--page-width);
 padding: 0 15px;
 margin: auto;
 width: 100%;
}

.brands-list {
 display: flex;
 flex-flow: row wrap;
 justify-content: space-between;
 position: relative;
 z-index: 1;
}

.brands-list .brands-item {
 padding: 14px;
 display: flex;
 flex-flow: row wrap;
 align-items: center;
 justify-content: center;
 width: calc(16.66% - 10px);
}

.brands-list .brands-item img {
 max-width: 100%;
 filter: brightness(0) invert(1);
}

@media(max-width:767px) {
 .brands-list .brands-item {
  width: 50%;
 }

}

Related Web Elements