Skip to content

Commit

Permalink
Subscribe button problem is solved, #394 issue is solved
Browse files Browse the repository at this point in the history
  • Loading branch information
Hemraj-7 committed Nov 10, 2024
1 parent 98b1c90 commit ea8dafa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ <h2>Stay Updated with Our Latest News</h2>
class="email-input"
required
/>
<button type="submit" class="btn submit-btn">Subscribe</button>
<button type="submit" class="btn subscribe-btn">Subscribe</button>
</form>
</div>
</section>
Expand Down
12 changes: 10 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,9 @@ a:visited {

/* Button Styling */

.submit-btn {
.submit-btn,
.subscribe-btn
{
padding: 12px 25px;
color: #fff;
font-weight: bold;
Expand All @@ -572,7 +574,9 @@ a:visited {
font-size: 16px;
}

.submit-btn:hover {
.submit-btn:hover,
.subscribe-btn:hover
{
transform: scale(1.05);
box-shadow: 0 3px 15px rgba(244, 2, 2, 0.9), 0 0 30px rgba(237, 20, 4, 0.95);
background: linear-gradient(135deg,
Expand Down Expand Up @@ -1200,6 +1204,10 @@ input[type="number"]::-webkit-outer-spin-button {
width: 90%;
}

.subscribe-btn{
width: auto;
}

.footer {
grid-template-columns: 1fr 1fr;
padding: 2rem;
Expand Down

0 comments on commit ea8dafa

Please sign in to comment.