Skip to content

Commit d159aeb

Browse files
Merge pull request #24 from pulkit-sachdeva-dev/pulkit_sachdeva_footer
Subscribe Button Issue Resolved
2 parents a033301 + 7fcc034 commit d159aeb

2 files changed

Lines changed: 21 additions & 2 deletions

File tree

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ <h3 class="footer__title">Support</h3>
250250
<div class="footer__content">
251251
<form action="" class="footer__form">
252252
<input type="email" placeholder="Email" class="footer__input">
253-
<button class="button button--flex"><i class="ri-send-plane-line button__icon"></i> Subscribe</button>
253+
<button class="button button--flex myButton"><i class="ri-send-plane-line button__icon"></i> Subscribe</button>
254254
</form>
255255
<div class="footer__social">
256256
<a href="https://www.facebook.com/" target="_blank" class="footer__social-link"><i class="ri-facebook-fill"></i></a>

public/try2.css

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
/*=============== GOOGLE FONTS ===============*/
32
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
43

@@ -839,6 +838,21 @@ margin-left:50px ;
839838
.footer__copy { margin-top: 5rem; text-align: center; }
840839
.footer__copy-link { font-size: var(--smaller-font-size); color: var(--text-color-light); }
841840

841+
/* Find and replace the existing footer button styles with these */
842+
.footer__button {
843+
background-color: var(--container-color);
844+
color: var(--white-color);
845+
padding: .5rem .75rem;
846+
font-size: var(--normal-font-size);
847+
border-radius: .5rem;
848+
transition: all 0.3s ease;
849+
}
850+
851+
.footer__button:hover {
852+
background-color: var(--white-color);
853+
color: #4ed4c6;
854+
}
855+
842856
/*=============== SCROLL UP ===============*/
843857
.scrollup { position: fixed; right: 1rem; bottom: -20%; display: flex; background-color: var(--container-color); border-radius: .25rem; padding: .45rem; opacity: .9; z-index: var(--z-tooltip); transition: .4s; }
844858
.scrollup:hover { background-color: var(--black-color); opacity: 1; }
@@ -966,4 +980,9 @@ margin-left:50px ;
966980

967981
@media screen and (min-width: 576px) {
968982
.login__form-container { max-width: 450px; padding: 2.5rem; }
983+
}
984+
985+
986+
.myButton:hover {
987+
color: #4ed4c6;
969988
}

0 commit comments

Comments
 (0)