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

.parallax-about {
  max-width: 800px;
  padding: 80px 0px;
  margin: auto;
  font-family: 'Rubik', sans-serif;
}

/**Typeo CSS End**/
.parallax2-full-scn, .parallax2-full-scn * {
  --page-width: 1230px;
  --base-fm: 'Rubik', sans-serif;
  --title-size: 50px;
  --base-size: 22px;
  --white-clr: #ffffff;
  --theme-clr: #ff6200;
}

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

.parallax2-full-scn {
  position: relative;
  width: 100%;
  color: var(--base-size);
  font-family: var(--base-fm);
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 20px;
  padding-top: 120px;
  padding-bottom: 120px;
  min-height: 700px;
  display: flex;
  flex-flow: row wrap;
}

.overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  left: 0px;
  top: 0px;
}

.parallax-inner {
  max-width: 600px;
  margin-left: auto;
  text-align: center;
  width: 100%;
  color: var(--white-clr);
  font-size: var(--base-size);
  letter-spacing: 3px;
  position: relative;
  z-index: 9;
  line-height: 1.5;
}

.parallax2-full-scn h2 {
  font-size: var(--title-size);
  font-weight: 400;
  margin: 0px 0px 10px 0px;
}

.parallax2-full-scn .cmn-btn {
  padding: 12px 30px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  transition: 0.5s all;
  margin-top: 10px;
  font-size: 18px;
}

.parallax2-full-scn .cmn-btn:hover {
  background-color: var(--theme-clr);
}

@media(max-width:1100px) {
  .parallax1-full-scn {
    min-height: inherit;
  }

  .parallax-inner {
    margin-right: auto;
    font-size: calc(var(--base-size) - 6px);
  }

}

@media(max-width:767px) {
  .parallax2-full-scn {
    padding: 50px 0px;
    min-height: inherit;
    background-position: center center;
  }

  .parallax2-full-scn h2 {
    font-size: calc(var(--title-size) - 18px)
  }

  .parallax2-full-scn p {
    margin: 8px 0px;
  }

  .parallax2-full-scn .cmn-btn {
    padding: 10px 24px;
    font-size: 16px;
    letter-spacing: normal;
  }

}

Related Web Elements