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**/
.about-opt1, .about-opt1 * {
 --page-width: 1230px;
 --base-fm: 'Rubik', sans-serif;
 --title-size: 35px;
 --base-size: 18px;
 --black-clr: #000000;
 --white-clr: #ffffff;
 --bg-clr: #fffbf8;
 --theme-clr: #ff6200;
}

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

.about-opt1 {
 width: 100%;
 font-size: var(--base-size)
 color:var(--black-clr);
 font-family: var(--base-fm);
 padding: 50px 0px;
 background-color: var(--bg-clr);
}

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

.about-opt1-inner .about-opt1-left {
 width: 50%;
}

.about-opt1-inner .about-opt1-right {
 width: 50%;
 padding: 20px 40px;
}

.about-opt1-inner h2 {
 font-size: var(--title-size);
 font-weight: normal;
 margin: 0px 0px 15px 0px;
}

.about-opt1-inner p {
 line-height: 1.5;
 margin: 0px 0 20px 0;
}

.about-opt1-inner img {
 display: block;
 width: 100%;
}

.o1-cmn-btn {
 padding: 12px 24px;
 display: inline-block;
 background-color: var(--black-clr);
 color: var(--white-clr);
 text-decoration: none;
 text-transform: uppercase;
 transition: 0.5s all;
 border: var(--black-clr) 1px solid;
}

.o1-cmn-btn:hover {
 background-color: transparent;
 color: var(--black-clr);
}

@media(max-width:992px) {
 .about-opt1 {
  padding: 40px 0;
 }

 .about-opt1-inner .about-opt1-right {
  padding: 15px 0px 15px 15px;
 }

 .o1-cmn-btn {
  padding: 10px 20px;
 }

 .about-opt1-inner h2 {
  font-size: calc(var(--title-size) - 10px);
  margin-bottom: 10px;
 }

 .about-opt1-inner {
  font-size: calc(var(--base-size) - 4px);
 }

}

@media(max-width:767px) {
 .about-opt1-inner .about-opt1-left, .about-opt1-inner .about-opt1-right {
  width: 100%;
 }

 .about-opt1-inner .about-opt1-right {
  padding: 20px 0 0 0px;
 }

}

Related Web Elements