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

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

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

.c-short-desc {
 max-width: 800px;
 margin: auto;
 line-height: 1.4;
 text-align: center;
 margin-bottom: 20px;
}

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

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

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

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

.c-stories-img {
 width: 100px;
 height: 100px;
 display: block;
 overflow: hidden;
 border-radius: 100%;
 border: #ccc 2px solid;
 margin-left: auto;
 margin-right: auto;
}

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

.c-stories-info {
 margin-top: 10px;
}

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

.c-stories-list .c-stories-item strong {
 font-weight: 500;
 font-size: 20px;
 padding-top: 10px;
 display: inline-block;
}

.c-stories-list .c-stories-item p {
 margin: 5px 0 0px 0;
 line-height: 1.4;
 position: relative;
}

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

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

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

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

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

 .c-stories-list {
  width: 100%;
  margin: 0px;
  padding-top: 10px;
 }

 .c-stories-list .c-stories-item {
  width: 100%;
  margin: 10px 0px
 }

}

Related Web Elements