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: 18px;
  --white-clr: #ffffff;
  --bg-clr: #efedeb;
}

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

.brands-scn h2 {
  font-size: var(--title-size);
  margin: 0px 0 30px 0;
}

.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;
}

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

.brands-logo {
  background-color: var(--white-clr);
  padding: 15px;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  margin: 7px 5px;
  border-radius: 100%;
  box-shadow: #c5c5c5 0 0 6px;
}

.brands-list .brands-item img {
  max-width: 70%;
}

.brand-name {
  display: block;
  width: 100%;
  font-size: var(--base-size);
  font-weight: 500;
  margin-top: 10px;
}

@media(max-width:992px) {
  .brands-scn {
    padding: 30px 0;
  }

  .brands-scn h2 {
    font-size: calc(var(--title-size) - 6px);
    margin-bottom: 10px;
  }

  .brands-list {
    justify-content: center;
  }

  .brands-logo {
    width: 110px;
    height: 110px;
    margin-top: 15px;
  }

  .brands-list .brands-item img {
    max-width: 85%;
  }

  .brand-name {
    font-size: calc(var(--base-size) - 2px);
    margin-top: 5px;
  }

}

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

}

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

  .brands-logo {
    width: 130px;
    height: 130px;
    margin-top: 15px;
  }

}

Related Web Elements