Built contact form
This commit is contained in:
1 parent
a942d6f777
commit
03f86dd6bb
3 files changed
+152
-41
No files matched your search
@@ -31,6 +31,10 @@
|
||||
.steps-grid {
|
||||
max-width: 90%;
|
||||
}
|
||||
|
||||
.heading-sub {
|
||||
max-width: 100rem;
|
||||
}
|
||||
}
|
||||
|
||||
/************************/
|
||||
@@ -136,6 +140,22 @@
|
||||
.steps-grid {
|
||||
max-width: 95%;
|
||||
}
|
||||
|
||||
.contact-img {
|
||||
width: 40rem;
|
||||
}
|
||||
|
||||
.form-field {
|
||||
width: 40rem;
|
||||
}
|
||||
|
||||
.heading-sub {
|
||||
max-width: 85rem;
|
||||
}
|
||||
|
||||
.contact-grid {
|
||||
gap: 6rem;
|
||||
}
|
||||
}
|
||||
|
||||
/************************/
|
||||
@@ -238,6 +258,22 @@
|
||||
.footer-links .main-nav-link {
|
||||
color: #0b1532;
|
||||
}
|
||||
|
||||
.contact-img {
|
||||
width: 30rem;
|
||||
}
|
||||
|
||||
.form-field {
|
||||
width: 50rem;
|
||||
}
|
||||
|
||||
.heading-sub {
|
||||
max-width: 65rem;
|
||||
}
|
||||
|
||||
.contact-grid {
|
||||
gap: 5rem;
|
||||
}
|
||||
}
|
||||
|
||||
/************************/
|
||||
@@ -283,7 +319,12 @@
|
||||
.heading-sub {
|
||||
max-width: 80%;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
.form-field {
|
||||
width: 38rem;
|
||||
}
|
||||
}
|
||||
+41
-13
@@ -180,6 +180,10 @@ p {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.heading-sub {
|
||||
max-width: 120rem;
|
||||
}
|
||||
|
||||
.btn:link,
|
||||
.btn:visited {
|
||||
display: inline-block;
|
||||
@@ -445,8 +449,6 @@ p {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
border-radius: 5rem;
|
||||
border: 3px solid #2d54c7;
|
||||
background-color: rgb(11, 21, 50, 0.4);
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 5rem;
|
||||
@@ -460,27 +462,53 @@ p {
|
||||
}
|
||||
|
||||
.contact-img {
|
||||
padding: 1rem;
|
||||
width: 50rem;
|
||||
align-self: center;
|
||||
justify-self: center;
|
||||
}
|
||||
|
||||
.contact-card {
|
||||
.contact-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: start;
|
||||
gap: 2rem;
|
||||
gap: 4rem;
|
||||
align-self: center;
|
||||
justify-self: center;
|
||||
}
|
||||
|
||||
.contact-card a:link,
|
||||
.contact-card a:visited {
|
||||
text-decoration: none;
|
||||
.form-field {
|
||||
border: 3px solid #2d54c7;
|
||||
border-radius: 2rem;
|
||||
padding: 2rem;
|
||||
background-color: #0b1532;
|
||||
color: #fff;
|
||||
transition: all 0.3s;
|
||||
width: 50rem;
|
||||
font-size: 2rem;
|
||||
font-family: "Space Grotesk", sans-serif;
|
||||
}
|
||||
|
||||
.contact-card a:hover,
|
||||
.contact-card a:active {
|
||||
color: #2d54c7;
|
||||
text-decoration: underline;
|
||||
.btn-form {
|
||||
background-color: transparent;
|
||||
color: #fff;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
font-weight: 500;
|
||||
font-family: "Space Grotesk", sans-serif;
|
||||
font-size: 2rem;
|
||||
background-color: transparent;
|
||||
border: 3px solid #ffe642;
|
||||
border-radius: 100px;
|
||||
padding: 1.6rem 3.2rem;
|
||||
transition: all 0.3s;
|
||||
width: fit-content;
|
||||
height: fit-content;
|
||||
cursor: pointer;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.social-links {
|
||||
display: flex;
|
||||
gap: 3rem;
|
||||
}
|
||||
|
||||
.social-icons {
|
||||
|
||||
+70
-28
@@ -256,7 +256,6 @@
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="contact-section" id="contact">
|
||||
<div class="heading-wrapper">
|
||||
<img
|
||||
@@ -267,52 +266,95 @@
|
||||
<h2>Contact Me</h2>
|
||||
</div>
|
||||
<p class="heading-sub">
|
||||
Let's connect! Choose your preferred contact method below.
|
||||
Let’s connect! Whether you have a quick question, need a custom quote,
|
||||
or just want to discuss ideas, feel free to reach out. Drop me a
|
||||
message through the form, email, or phone, and I’ll get back to you
|
||||
promptly so we can start building something great together.
|
||||
</p>
|
||||
<div class="contact-grid">
|
||||
<div class="contact-wrapper">
|
||||
<div class="contact-card">
|
||||
<h3>Email</h3>
|
||||
<a href="mailto:blake@cosmicallycreative.com"
|
||||
>blake@cosmicallycreative.com</a
|
||||
<div class="contact-img">
|
||||
<img src="img/rocket-launch.svg" alt="rocket taking off" />
|
||||
</div>
|
||||
<form
|
||||
class="contact-form"
|
||||
name="contact"
|
||||
action="https://formbold.com/s/67LMK"
|
||||
method="POST"
|
||||
>
|
||||
<div>
|
||||
<label for="full-name"></label>
|
||||
<input
|
||||
class="form-field"
|
||||
id="full-name"
|
||||
type="text"
|
||||
placeholder="Full Name"
|
||||
name="name"
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
<div class="contact-card">
|
||||
<h3>Phone</h3>
|
||||
<a href="tel:+17125786203">712-578-6203</a>
|
||||
<div>
|
||||
<label for="email"></label>
|
||||
<input
|
||||
class="form-field"
|
||||
id="email"
|
||||
type="email"
|
||||
placeholder="Email"
|
||||
name="email"
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
<div class="contact-card">
|
||||
<h3>Social Media</h3>
|
||||
<div class="social-icons">
|
||||
<div>
|
||||
<label for="message"></label>
|
||||
<textarea
|
||||
class="form-field"
|
||||
id="message"
|
||||
name="message"
|
||||
placeholder="Message"
|
||||
required
|
||||
></textarea>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-form">Send Message</button>
|
||||
</form>
|
||||
</div>
|
||||
<div class="social-links">
|
||||
<div class="social-icon-wrapper">
|
||||
<a href="https://www.facebook.com/cosmicallycreative"
|
||||
><img
|
||||
<a
|
||||
href="https://www.facebook.com/cosmicallycreative"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<img
|
||||
class="social-icon"
|
||||
src="img/icons/social/facebook.svg"
|
||||
alt="facebook icon"
|
||||
/></a>
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="social-icon-wrapper">
|
||||
<a href="https://www.instagram.com/cosmicallycreative"
|
||||
><img
|
||||
<a
|
||||
href="https://www.instagram.com/cosmicallycreative"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<img
|
||||
class="social-icon"
|
||||
src="img/icons/social/instagram.svg"
|
||||
alt="instagram icon"
|
||||
/></a>
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="social-icon-wrapper">
|
||||
<a href="https://github.com/Cosmically-Creative"
|
||||
><img
|
||||
<a
|
||||
href="https://github.com/Cosmically-Creative"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
<img
|
||||
class="social-icon"
|
||||
src="img/icons/social/github.svg"
|
||||
alt="github icon"
|
||||
/></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contact-img">
|
||||
<img src="img/rocket-launch.svg" alt="rocket taking off" />
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<footer class="footer">
|
||||
|
||||
Reference in new issue
Block a user