mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 13:10:21 +08:00
90 lines
1.8 KiB
HTML
90 lines
1.8 KiB
HTML
<form class="form">
|
|
<span class="signup">Sign Up</span>
|
|
<input type="email" placeholder="Email address" class="form--input">
|
|
<input type="password" placeholder="Password" class="form--input">
|
|
<input type="password" placeholder="Confirm password" class="form--input">
|
|
|
|
<div class="form--marketing">
|
|
<input id="okayToEmail" type="checkbox">
|
|
<label for="okayToEmail" class="checkbox">
|
|
I want to join the newsletter
|
|
</label>
|
|
</div>
|
|
<button class="form--submit">
|
|
Sign up
|
|
</button>
|
|
</form>
|
|
<style>
|
|
/* From Uiverse.io by Mr-Roy-alt - Tags: form, sign-up */
|
|
.form {
|
|
background-color: white;
|
|
padding: 3.125em;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
box-shadow: 5px 5px 15px -1px rgba(0,0,0,0.75);
|
|
}
|
|
|
|
.signup {
|
|
color: rgb(77, 75, 75);
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
display: block;
|
|
font-weight: bold;
|
|
font-size: x-large;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.form--input {
|
|
width: 100%;
|
|
margin-bottom: 1.25em;
|
|
height: 40px;
|
|
border-radius: 5px;
|
|
border: 1px solid gray;
|
|
padding: 0.8em;
|
|
font-family: 'Inter', sans-serif;
|
|
outline: none;
|
|
}
|
|
|
|
.form--input:focus {
|
|
border: 1px solid #639;
|
|
outline: none;
|
|
}
|
|
|
|
.form--marketing {
|
|
display: flex;
|
|
margin-bottom: 1.25em;
|
|
align-items: center;
|
|
}
|
|
|
|
.form--marketing > input {
|
|
margin-right: 0.625em;
|
|
}
|
|
|
|
.form--marketing > label {
|
|
color: grey;
|
|
}
|
|
|
|
.checkbox, input[type="checkbox"] {
|
|
accent-color: #639;
|
|
}
|
|
|
|
.form--submit {
|
|
width: 50%;
|
|
padding: 0.625em;
|
|
border-radius: 5px;
|
|
color: white;
|
|
background-color: #639;
|
|
border: 1px dashed #639;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.form--submit:hover {
|
|
color: #639;
|
|
background-color: white;
|
|
border: 1px dashed #639;
|
|
cursor: pointer;
|
|
transition: 0.5s;
|
|
}
|
|
</style>
|