Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscribe button problem is solved, #394 issue is solved #423

Merged
merged 1 commit into from
Nov 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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