Skip to content

Commit

Permalink
Style the send button
Browse files Browse the repository at this point in the history
  • Loading branch information
AftabMankapure committed Jan 17, 2024
1 parent 5225f54 commit 43b0d6e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ <h2 class="section__title">Subscribe to get special prize</h2>
<div class="subscribe__form">
<form>
<input type="email" placeholder="Your email here" />
<button class="btn" type="submit">Send</button>
<button class="btn" id="send" type="submit">Send</button>
</form>
</div>
</div>
Expand Down
6 changes: 6 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@
transition: 0.3s;
}

#send {
border-top-right-radius: 5rem;
border-bottom-right-radius: 5rem;
}


.btn:hover {
background-color: var(--primary-color-dark);
font-weight: 600;
Expand Down

0 comments on commit 43b0d6e

Please sign in to comment.