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

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

.about-opt2 {
 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-opt2-inner {
 display: flex;
 flex-flow: row wrap;
 width: 100%;
 align-items: center;
}

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

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

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

.listtitle {
 color: var(--theme-clr);
 font-weight: 700;
 font-size: 20px;
}

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

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

.hospital-list {
 margin: 10px 0 20px 0;
 padding: 0px;
 list-style: none;
 width: 100%;
}

.hospital-list li {
 padding-left: 20px;
 position: relative;
 margin: 6px 0px;
 display: inline-block;
 width: 100%;
 color: var(--theme-clr);
}

.hospital-list li:before {
 content: '';
 width: 6px;
 height: 6px;
 background-color: var(--theme-clr);
 position: absolute;
 left: 0;
 top: 6px;
 border-radius: 100%;
}

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

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

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

 .about-opt2-inner .about-opt2-right {
  width: 50%;
  padding: 10px 0px 10px 20px;
 }

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

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

 .listtitle {
  font-size: 18px;
 }

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

 .hospital-list li {
  margin: 4px 0px;
 }

 .hospital-list {
  margin: 5px 0 10px 0;
 }

}

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

 .about-opt2-inner .about-opt2-right {
  width: 100%;
  padding: 10px 0px 0px 0px;
 }

}

Related Web Elements