mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-27 20:50:21 +08:00
63 lines
1.4 KiB
HTML
63 lines
1.4 KiB
HTML
<div class="newsletter-form">
|
|
<p class="heading"> Subscribe to Our Newsletter</p>
|
|
<form class="form">
|
|
<label for="email">Email:</label>
|
|
<input required="" placeholder="Enter your email address" name="email" id="email" type="email">
|
|
<input value="Subscribe" type="submit">
|
|
</form>
|
|
</div>
|
|
<style>
|
|
/* From Uiverse.io by PriyanshuGupta28 - Tags: form, subscriptions card, email card */
|
|
/* Unique styles for the newsletter form */
|
|
.newsletter-form {
|
|
max-width: 400px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
border: 2px solid #333;
|
|
border-radius: 8px;
|
|
background-color: #f7f7f7;
|
|
font-family: Arial, sans-serif;
|
|
box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
|
|
}
|
|
|
|
.heading {
|
|
font-weight: bold;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.newsletter-form h2 {
|
|
margin-top: 0;
|
|
color: #333;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.newsletter-form label {
|
|
display: block;
|
|
font-weight: bold;
|
|
color: #666;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.newsletter-form input[type="email"] {
|
|
width: 100%;
|
|
padding: 10px;
|
|
margin-bottom: 10px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.newsletter-form input[type="submit"] {
|
|
width: 100%;
|
|
padding: 10px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
background-color: #ff6600;
|
|
color: #fff;
|
|
font-weight: bold;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.newsletter-form input[type="submit"]:hover {
|
|
background-color: #ff8533;
|
|
}
|
|
</style>
|