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: #fff;
}

img {
 max-width: 100%;
}

/**Typeo CSS End**/
.discover-scn, .discover-scn * {
 --page-width: 1430px;
 --base-fm: 'Rubik', sans-serif;
 --title-size: 35px;
 --base-size: 15px;
 --black-clr: #000000;
 --white-clr: #ffffff;
 --bg-clr: #fffbf8;
 --theme-clr: #ff6200;
}

.discover-scn {
 width: 100%;
 position: relative;
 font-size: var(--base-size);
 color: var(--black-clr);
 font-family: var(--base-fm);
 display: flex;
 flex-flow: row wrap;
 align-items: center;
 padding: 50px 0px;
}

.text-center {
 text-align: center;
}

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

.discover-top {
 max-width: 800px;
 margin: auto;
 line-height: 1.5;
}

.discover-scn h2 {
 margin: 0px;
 font-size: var(--title-size);
 line-height: normal;
}

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

.discover-list .discover-item {
 width: calc(25% - 30px);
 margin: 15px 15px;
 box-shadow: rgba(0, 0, 0, 0.1) 0 0 16px;
 padding: 25px 20px;
 font-size: var(--base-size);
}

.discover-img {
 width: 100%;
 display: inline-block;
}

.discover-img img {
 max-width: 100%;
 max-height: 60px;
 display: inline-block;
}

.d-tag {
 opacity: 0.7;
 font-weight: 300;
 display: inline-block;
 width: 100%;
 margin-bottom: 5px;
 margin-top: 10px;
 font-size: calc(var(--base-size) - 2px);
}

.discover-list .discover-item h3 {
 margin: 0px 0 15px 0;
 font-size: 20px;
 font-weight: normal;
}

.discover-list .discover-item p {
 margin: 0px 0px 10px 0px;
 line-height: 1.3;
}

.discover-list .discover-item .readmore {
 border-bottom: var(--black-clr) 1px solid;
 text-decoration: none;
 color: var(--black-clr);
 margin-top: 10px;
 display: inline-block;
 font-size: calc(var(--base-size) + 2px);
 transition: 0.5s all;
}

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

@media(max-width:1299px) {
 .discover-scn h2 {
  font-size: calc(var(--title-size) - 10px);
 }

 .discover-list {
  width: calc(100% + 10px);
  margin-left: -5px;
 }

 .discover-list .discover-item {
  width: calc(33.33% - 10px);
  margin: 5px;
  padding: 20px 10px;
  font-size: calc(var(--base-size) - 1px);
 }

}

@media(max-width:992px) {
 .discover-list .discover-item h3 {
  margin: 0px 0 15px 0;
  font-size: 19px;
 }

}

@media(max-width:767px) {
 .discover-scn {
  padding: 30px 0px;
 }

 .discover-list {
  width: 100%;
  margin-left: 0px;
 }

 .discover-list .discover-item {
  width: 100%;
  margin: 10px 0;
  padding: 20px 10px;
 }

 .discover-list .discover-item .readmore {
  font-size: 15px;
  margin-top: 2px;
 }

}

Related Web Elements