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

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

.mens-promotion-scn {
 font-family: var(--base-fm);
 background-repeat: no-repeat;
 background-size: cover;
 background-position: top center;
 min-height: 600px;
 padding: 20px 0;
 display: flex;
 flex-flow: row wrap;
 justify-content: center;
 align-items: center;
}

.mens-prom-inner {
 max-width: 800px;
 margin: auto;
 text-align: center;
}

.mens-prom-inner .collt-txt {
 font-size: 28px;
 margin-bottom: 8px;
 font-weight: 700;
 letter-spacing: 1px;
}

.mens-prom-inner .collt-txt span {
 font-weight: 400;
}

.startprice {
 font-size: 50px;
 margin: 16px 0px;
 display: inline-block;
 width: 100%;
}

.startprice span {
 background-color: var(--theme-clr);
 color: #fff;
 padding: 0px 20px;
 font-weight: 700;
}

.shopnow-btn {
 color: var(--theme-clr);
 border: var(--theme-clr) 2px solid;
 display: inline-block;
 text-decoration: none;
 padding: 12px 24px;
 text-transform: uppercase;
 margin-top: 40px;
 transition: 0.5s all;
}

.shopnow-btn:hover {
 background-color: var(--theme-clr);
 color: var(--white-clr);
}

@media(max-width:1200px) {
 .mens-promotion-scn {
  min-height: 380px;
 }

 .mens-prom-inner .collt-txt {
  font-size: 22px;
 }

 .startprice {
  font-size: 40px;
 }

 .shopnow-btn {
  margin-top: 20px;
 }

}

@media(max-width:992px) {
 .mens-promotion-scn {
  min-height: 320px;
 }

}

@media(max-width:767px) {
 .mens-prom-inner .collt-txt {
  font-size: 18px;
 }

 .startprice {
  font-size: 30px;
  margin: 6px 0px;
 }

 .shopnow-btn {
  margin-top: 15px;
  padding: 8px 13px;
 }

 .mens-promotion-scn {
  min-height: 180px;
 }

}

Related Web Elements