Skip to content

Commit

Permalink
style contact form input borders with accent color
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Dec 18, 2022
1 parent 70676d9 commit 296704b
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions src/pages/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,27 @@
<h1 class="text-center text-xl">Get in touch!</h1>

<form name="contact" method="post" class="grid grid-cols-1 w-1/3 ml-auto mr-auto" netlify>

<label for="subject">Subject</label>
<input name="subject" type="text" class="border-blue-300 border-2 mb-4" required/>
<input name="subject" type="text"
class="border-2 mb-4"
style="border-color:var(--color-accent)"
required
/>

<label for="email">Email</label>
<input name="email" type="email" class="border-blue-300 border-2 mb-4" required/>
<input name="email" type="email"
class="border-2 mb-4"
style="border-color:var(--color-accent)"
required
/>

<label for="message" class="underline">Message</label>
<textarea name="message" class="border-blue-300 border-2 h-24 mb-4" required></textarea>
<textarea name="message"
class="border-2 mb-4"
style="border-color:var(--color-accent)"
required
></textarea>

<button class="btn" type="submit">Send</button>
</form>
Expand Down

0 comments on commit 296704b

Please sign in to comment.