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**/
.content-img-scn, .content-img-scn * {
  --page-width: 1400px;
  --base-fm: 'Rubik', sans-serif;
  --title-size: 30px;
  --base-size: 16px;
  --white-clr: #ffffff;
  --black-clr: #000000;
  --theme-clr: #0887c5;
  --bg-clr: linear-gradient(29.39deg, #FF6573 3.66%, #FBA290 95.47%);
}

.content-img-scn {
  background: var(--bg-clr);
  font-family: var(--base-fm);
  font-size: var(--base-size);
  color: var(--white-clr);
  line-height: 1.3;
}

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

.content-img-inner {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}

.content-img-cont {
  width: 60%;
  padding: 10px 30px;
}

.content-img-img {
  width: 40%;
}

.content-img-img img {
  display: block;
  max-width: 100%;
}

.content-img-inner h3 {
  font-size: var(--title-size);
  margin: 0px;
  font-weight: 700;
}

.content-img-inner .ask-ct-btn {
  padding: 17px 26px 16px 26px;
  text-decoration: none;
  color: var(--black-clr);
  background-color: var(--white-clr);
  display: inline-block;
  font-size: 18px;
  margin-top: 15px;
  transition: 0.5s all;
}

.content-img-inner .ask-ct-btn:hover {
  background-color: var(--black-clr);
  color: var(--white-clr);
}

@media(max-width:992px) {
  .content-img-inner h3 {
    font-size: calc(var(--title-size) - 8px);
  }

  .content-img-inner .ask-ct-btn {
    margin-top: 0px;
  }

}

@media(max-width:767px) {
  .content-img-scn .page-width {
    padding-left: 0px;
    padding-right: 0px;
  }

  .content-img-inner {
    flex-direction: column-reverse;
  }

  .content-img-cont {
    width: 100%;
    padding: 30px 20px;
  }

  .content-img-img {
    width: 100%;
  }

  .content-img-inner .ask-ct-btn {
    padding: 13px 15px 12px 15px;
    font-size: 15px;
  }

}

Related Web Elements