Coder Wrap provides free to use snippets Coder Wrap provides free to use snippets

🗙
Login
Register

Create Account

Cancel
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**/
.testimonials-scn, .testimonials-scn * {
 --page-width: 1230px;
 --base-fm: 'Rubik', sans-serif;
 --title-size: 30px;
 --base-size: 16px;
 --white-clr: #ffffff;
 --theme-clr: #eb971c;
 --bg-clr: #efedeb;
}

/**Testimonial Section Start**/
.testimonials-scn {
 font-family: var(--base-fm);
 font-size: var(--base-size);
 padding: 60px 0px;
}

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

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

.testmls-list .testmls-item {
 width: calc(33.33% - 30px);
 margin: 0px 15px;
 background-color: #fff;
 border-radius: 6px;
 box-shadow: #cfcfcf 0px 0 8px;
 padding: 0px 40px 30px 40px;
 transition: 0.5s all;
 text-align: center;
}

.testmls-list .testmls-item img {
 max-width: 100%;
}

.testmls-img {
 width: 100px;
 height: 100px;
 display: block;
 overflow: hidden;
 border-radius: 100%;
 border: #ccc 4px solid;
 margin-top: -50px;
 margin-bottom: 25px;
 margin-left: auto;
 margin-right: auto;
}

.testmls-img img {
 width: 100%;
 height: 100%;
 display: block;
}

.testmls-info {
 margin-top: 20px;
}

.testmls-info .t-name {
 display: inline-block;
 font-weight: 500;
 margin-bottom: 6px;
 font-size: 20px;
 color: var(--theme-clr);
 transition: 0.5s all;
}

.testimonials-scn h2 {
 text-align: center;
 margin: 0px;
 font-size: var(--title-size);
}

.testmls-list .testmls-item p {
 margin: 20px 0 0px 0;
 line-height: 1.4;
 position: relative;
}

.testmls-list .testmls-item p:before, .testmls-list .testmls-item p:after {
 font-family: arial;
 font-size: 62px;
 font-weight: 700;
 line-height: 24px;
 display: inline-block;
 position: relative;
}

.testmls-list .testmls-item p:before {
 content: '“';
 top: 25px;
 margin-right: 4px;
}

.testmls-list .testmls-item p:after {
 content: '”';
 margin-left: 4px;
 position: absolute;
 bottom: -17px;
}

.testmls-list .testmls-item:hover {
 background-color: var(--theme-clr);
 color: var(--white-clr);
}

.testmls-list .testmls-item:hover .t-name {
 color: var(--white-clr);
}

.testmls-list .testmls-item:hover .testmls-img {
 border-color: var(--theme-clr);
}

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

 .testimonials-scn h2 {
  font-size: calc(var(--title-size) - 6px);
 }

 .testmls-list {
  width: 100%;
  margin: 0px;
  padding-top: 40px;
 }

 .testmls-list .testmls-item {
  width: 100%;
  margin: 30px 0px
 }

}

Related Web Elements