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

img {
  max-width: 100%;
}

/**Typeo CSS End**/
.sppb-section, .sppb-section * {
  --page-width: 1230px;
  --base-fm: 'Rubik', sans-serif;
  --title-size: 45px;
  --itemtitle-size: 24px;
  --base-size: 16px;
  --black-clr: #000000;
  --white-clr: #ffffff;
  --bg-clr: #F9F9F9;
  --theme-clr: #ff6200;
}

.sppb-section {
  width: 100%;
  font-size: var(--base-size)
  color:var(--white-clr);
  font-family: var(--base-fm);
  padding: 60px 0px;
  background-color: var(--bg-clr);
}

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

.sppb-section h2 {
  font-size: var(--title-size);
  margin: 10px 0;
  font-weight: 700;
}

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

.property-img-hover {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: 0.5s all;
  opacity: 0;
  background-color: var(--black-clr);
}

.sppb-list .sppb-item {
  width: calc(33.33% - 30px);
  padding: 12px 20px;
  background-color: var(--white-clr);
  margin: 15px;
  min-height: 280px;
  display: flex;
  flex-flow: row wrap;
  align-content: center;
  position: relative;
  text-decoration: none;
  color: var(--black-clr);
}

.sppb-list .sppb-item:not(a) {
  background-color: transparent;
  padding: 0px;
}

.sppb-list .sppb-item .hd-tagline {
  color: var(--theme-clr);
  display: inline-block;
  width: 100%;
}

.sppb-list .sppb-item .sppb-cont {
  position: relative;
  z-index: 1;
  transition: 0.5s all;
}

.sppb-list .sppb-item:hover .property-img-hover {
  opacity: 1;
}

.sppb-img img {
  max-height: 60px;
}

.sppb-list .sppb-item:hover .sppb-cont {
  color: var(--white-clr);
}

.sppb-list .sppb-item h4 {
  margin: 15px 0px 10px 0px;
  font-size: var(--itemtitle-size);
  font-weight: 400;
  display: inline-block;
  width: 100%;
}

.sppb-list .sppb-item p {
  margin: 0px;
  line-height: 1.5;
}

Related Web Elements