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**/
.newsletter-scn, .newsletter-scn * {
 --page-width: 1330px;
 --base-fm: 'Rubik', sans-serif;
 --title-size: 28px;
 --base-size: 16px;
 --white-clr: #ffffff;
 --black-clr: #000000;
 --theme-clr: #404472;
 --bg-clr: #e6f0f6;
}

/**Testimonial Section Start**/
.newsletter-scn {
 background-color: var(--theme-clr);
 padding: 40px 0px;
 font-family: var(--base-fm);
 font-size: var(--base-size);
 color: var(--white-clr);
}

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

.newsletter-inner {
 width: 100%;
 margin: auto;
 display: flex;
 flex-flow: row wrap;
 border-radius: 8px;
 align-items: center;
 max-width: 750px;
}

.newsletter-left {
 width: 50%;
 text-align: right;
 padding-right: 20px;
}

.subscribe-title {
 color: var(--white-clr);
 font-size: var(--base-size);
 margin-top: 5px;
 display: inline-block;
}

.newsletter-inner h2 {
 font-size: var(--title-size);
 margin: 0px;
 font-weight: 400;
 letter-spacing: 1px;
 color: var(--white-clr);
}

.newsletter-form {
 background-color: var(--white-clr);
 display: flex;
 flex-flow: row wrap;
 margin: auto;
 width: 50%;
 border-radius: 40px;
 padding: 2px 1px 2px 2px;
}

.newsletter-form input[type="email"] {
 padding: 15px 30px;
 font-family: var(--base-fm);
 font-size: 16px;
 border: none;
 border-radius: 40px;
 outline: none;
 width: calc(100% - 137px);
 display: flex;
}

.newsletter-form .newsletter-btn {
 padding: 10px 10px;
 text-transform: uppercase;
 font-size: 14px;
 font-weight: 700;
 background-color: var(--theme-clr);
 color: var(--white-clr);
 border: none;
 font-family: var(--base-fm);
 cursor: pointer;
 border-radius: 40px;
 outline: none;
 transition: 0.5s all;
 width: 136px;
 text-align: center;
}

.newsletter-form .newsletter-btn:hover {
 background-color: var(--black-clr);
}

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

 .newsletter-left {
  width: 100%;
  text-align: center;
  padding-right: 0px;
  padding-bottom: 20px;
 }

 .newsletter-form {
  width: 100%;
 }

}

Related Web Elements