mirror of
https://github.com/uiverse-io/galaxy.git
synced 2025-11-28 13:10:21 +08:00
75 lines
No EOL
1.5 KiB
HTML
75 lines
No EOL
1.5 KiB
HTML
<div class="container">
|
|
<form class="form" action="">
|
|
<p class="title">Login Form</p>
|
|
<input placeholder="Username" class="username input" type="text" />
|
|
<input placeholder="Password" class="password input" type="password" />
|
|
<button class="btn" type="submit">Login</button>
|
|
</form>
|
|
</div>
|
|
|
|
<style>
|
|
/* From Uiverse.io by HoseinParvaresh - Tags: form, login , login form, dark, rounded, input, button, orange, gradient, minimalistic, password, form, username, centered, login */
|
|
::selection {
|
|
background-color: gray;
|
|
}
|
|
|
|
.container {
|
|
margin: 0 auto;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.form {
|
|
width: 400px;
|
|
height: 400px;
|
|
background-image: linear-gradient(to bottom, #424242, #212121);
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
.title {
|
|
color: wheat;
|
|
margin: 3rem 0;
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.input {
|
|
margin: 0.5rem 0;
|
|
padding: 1rem 0.5rem;
|
|
width: 20rem;
|
|
background-color: inherit;
|
|
color: wheat;
|
|
border: none;
|
|
outline: none;
|
|
border-bottom: 1px solid wheat;
|
|
transition: all 400ms;
|
|
}
|
|
.input:hover {
|
|
background-color: #424242;
|
|
border: none;
|
|
border-radius: 0.5rem;
|
|
}
|
|
.btn {
|
|
height: 3rem;
|
|
width: 20rem;
|
|
margin-top: 3rem;
|
|
background-color: wheat;
|
|
border-radius: 0.5rem;
|
|
border: none;
|
|
font-size: 1.2rem;
|
|
transition: all 400ms;
|
|
cursor: pointer;
|
|
box-shadow:
|
|
0 0 10px antiquewhite,
|
|
0 0 10px antiquewhite;
|
|
}
|
|
.btn:hover {
|
|
background-color: antiquewhite;
|
|
box-shadow: none;
|
|
}
|
|
|
|
</style>
|
|
|