login
unknown
html
10 months ago
1.8 kB
18
Indexable
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Login</title>
<style>
* {
box-sizing: border-box;
}
body {
width: 100dvw;
height: 100dvh;
color: #fff;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
padding: 20px;
display: flex;
align-items: center;
justify-content: center;
background-image: linear-gradient(to top left, #00b0ff, #3f8e76);
}
form {
display: flex;
flex-direction: column;
max-width: 300px;
padding: 20px;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 15px;
box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.2);
}
h3,
p {
text-align: center;
}
input {
margin: 10px 0;
padding: 5px;
background-color: transparent;
border: unset;
border-bottom: 1px solid rgba(255, 255, 255, 0.5);
font-size: 16px;
}
button {
padding: 10px 20px;
background-color: #00b0ff;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
&:hover {
background-color: #3f8e76;
}
}
a {
color: #fff;
text-decoration: none;
font-size: 13px;
}
</style>
</head>
<body>
<form action="">
<h3>Login</h3>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit.</p>
<label for="username">Username</label>
<input type="text" id="username" name="username">
<label for="password">Password</label>
<input type="password" id="password" name="password">
<button type="submit">Masuk</button>
<p><a href="">forgot password?</a> | <a href="">Daftar</a></p>
</form>
</body>
</html>
Editor is loading...
Leave a Comment