add contact form
This commit is contained in:
+45
-1
@@ -24,6 +24,10 @@
|
||||
--submenu-bg: #b7cfa1;
|
||||
--list-bottom-border: #0d423523;
|
||||
--whatsapp-color: #25d366;
|
||||
--input-background: #dde5dd;
|
||||
--button-background2: #eef6ee;
|
||||
--button-background1: #ccd4cc;
|
||||
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -827,4 +831,44 @@ footer .copyright span {
|
||||
font-size: 16px;
|
||||
margin: 4px 2px;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.contentform input{
|
||||
background-color: var(--input-background);
|
||||
padding: 1rem;
|
||||
margin: 0.5rem 0rem 1rem 0rem;
|
||||
border: 1px solid var(--dark-green);
|
||||
border-radius: 4px;
|
||||
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.contentform textarea {
|
||||
width: 100%;
|
||||
height: 150px;
|
||||
padding: 1rem;
|
||||
margin: 0.5rem 0rem 1rem 0rem;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid var(--dark-green);
|
||||
border-radius: 4px;
|
||||
background-color: var(--input-background);
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.contentform button{
|
||||
background-color: var(--input-background);
|
||||
padding: 1rem;
|
||||
margin: 0.5rem 0rem 1rem 0rem;
|
||||
border: 1px solid var(--dark-green);
|
||||
border-radius: 6px;
|
||||
transition-duration: 0.4s;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.contentform button:hover {
|
||||
background-color: var(--button-background2)
|
||||
}
|
||||
|
||||
.contentform button:active {
|
||||
background-color: var(--button-background1)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<form class="contentform"
|
||||
action="https://formbold.com/s/3ZnWR"
|
||||
method="POST"
|
||||
>
|
||||
<label for="email">Your email: </label>
|
||||
<input type="email" name="email" id="email" title="email" placeholder="info@example.com" minlength="7" required="required">
|
||||
</br>
|
||||
<label for="message">Your message: </label>
|
||||
<textarea class="contentform" name="message" id="message" title="message" rows="6" placeholder="Your message" minlength="20" required="required"></textarea>
|
||||
</br>
|
||||
<button type="submit">Send</button>
|
||||
</form>
|
||||
Reference in New Issue
Block a user