Skip to content

Commit

Permalink
Changes in newsletter section styles
Browse files Browse the repository at this point in the history
  • Loading branch information
MaruthiSingh committed Jan 18, 2024
1 parent c82e0e3 commit 454750c
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 45 deletions.
83 changes: 45 additions & 38 deletions src/Components/NewsLetter/NewsLetter.css
Original file line number Diff line number Diff line change
@@ -1,53 +1,60 @@
.newsletter {
width: 65%;
height: 40vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: auto;
padding: 0px 140x;
margin-bottom: 150px;
background: linear-gradient(180deg, #fde1ff 0%, #e1ffea22 60%);
gap: 30px;
width: 100%;
height: 40vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: auto;
padding: 0px;
margin-bottom: 150px;
padding: 10px 0 0 0;
background: linear-gradient(180deg, #fde1ff 90%, #e1ffea22 100%);
gap: 30px;
}

.newsletter h1 {
color: #454545;
font-size: 55px;
font-weight: 600;
color: #454545;
font-size: 55px;
font-weight: 600;
}

.newsletter p {
color: #454545;
font-size: 20px;
color: #454545;
font-size: 20px;
}

.newsletter div {
display: flex;
align-items: center;
justify-content: space-between;
background: white;
height: 730px;
border-radius: 1px solid #e3e3e3;
display: flex;
align-items: center;
justify-content: space-between;
background: transparent;
height: 730px;
border: none;
}

.newsletter input {
width: 500px;
margin-left: 30px;
border: none;
outline: none;
color: #616161;
font-family: Poppins;
font-size: 16px;
width: 500px;
margin-left: 30px;
color: #616161;
font-family: Poppins;
font-size: 16px;
padding: 1rem;
border-radius: 2rem;
border: 2px solid #000;
position: relative;
right: -10%;
}

.newsletter div button{
width: 210px;
height: 70px;
border-radius: 80px;
background: black;
color: white;
font-size: 16px;
cursor: pointer;
}
.newsletter div button {
width: 140px;
height: 50px;
border-radius: 80px;
background: black;
color: white;
font-size: 16px;
cursor: pointer;
border: none;
position: relative;
right: 10.5%;
}
14 changes: 7 additions & 7 deletions src/Components/NewsLetter/NewsLetter.jsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import React from 'react'
import './NewsLetter.css'
import React from "react";
import "./NewsLetter.css";

const NewsLetter = () => {
return (
<div className='newsletter'>
<div className="newsletter">
<h1>Get Exclusive Offers On Your Email</h1>
<p>Subscribe to Our NewsLetter and Stay Updated</p>
<div>
<input type="email" placeholder='Your Email Id' />
<input type="email" placeholder="Your Email Id" />
<button>Subscribe</button>
</div>
</div>
)
}
);
};

export default NewsLetter
export default NewsLetter;

0 comments on commit 454750c

Please sign in to comment.