Skip to content

Commit 3e40ebb

Browse files
newsletter completed
1 parent 604a9f9 commit 3e40ebb

2 files changed

Lines changed: 64 additions & 1 deletion

File tree

index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,18 @@ <h5>New Trendy Prints</h4>
348348
</div>
349349
</div>
350350
</section>
351+
352+
<section id="newsletter">
353+
<div class="newsletter-text">
354+
<h3>Sign Up For Newsletters</h3>
355+
<h5>get e-mail updates about out latest shop and <span>special offers</span></h5>
356+
</div>
357+
<div class="form">
358+
<input type="email" placeholder="Your email address">
359+
<button>Sign Up</button>
360+
</div>
361+
</section>
362+
351363
</main>
352364

353365
<!--footer section-->

style.css

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ section#hero {
285285
*/
286286

287287
/* banners section styles */
288+
288289
#banners {
289290
margin: 0 60px;
290291
}
@@ -361,4 +362,54 @@ span {
361362
}
362363
#banners .small-banners h5{
363364
color: #771818;
364-
}
365+
}
366+
367+
/* newsletter section styles */
368+
369+
#newsletter{
370+
background-image: url(images/banner/b14.png);
371+
background-repeat: no-repeat;
372+
background-position: 180px;
373+
background-color: #041e42;
374+
height: 160px;
375+
display: flex;
376+
align-items: center;
377+
justify-content: space-between;
378+
padding: 0 75px;
379+
}
380+
#newsletter .newsletter-text h3{
381+
color: white;
382+
font-size: 30px;
383+
padding: 0 0 15px 0;
384+
}
385+
#newsletter .newsletter-text h5{
386+
color: rgb(151, 151, 151);
387+
font-size: 17px;
388+
}
389+
#newsletter .newsletter-text h5 span{
390+
color: rgb(216, 182, 29);
391+
}
392+
#newsletter .form input{
393+
padding: 20px;
394+
width: 350px;
395+
height: 56px;
396+
background-color: #d1d0d0;
397+
border-radius: 6px 0 0 6px;
398+
font-size: 18px;
399+
400+
border: none;
401+
outline: none;
402+
margin-right: -4px;
403+
margin-top: 1px;
404+
}
405+
#newsletter .form button{
406+
margin-left: 0;
407+
padding: 20px;
408+
border: none;
409+
width: 120px;
410+
background-color: #088178;
411+
color: white;
412+
font-size: 17px;
413+
border-radius: 0 6px 6px 0;
414+
cursor: pointer;
415+
}

0 commit comments

Comments
 (0)