Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- //login form -->
<form action="/login" method="post">
<label for="username">Username:</label>
<form action="/login" method="post" class="form">
<label for="username" style="font-size: 20px; ">Username:</label>
<input type="text" id="username" name="username" required>
<br>
<label for="password">Password:</label>
<label for="password" style="font-size: 20px;">Password:</label>
<input type="password" id="password" name="password" required>
<br>
<button type="submit">Login</button>
<button type="submit" class="btn">Login</button>

</body>
</html>
15 changes: 15 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.form{
border: 1px solid gray;
border-radius: 10px;
height: 300px;
width: 300px;
margin: 200px auto;
padding: 5px;
background-color: gray;
}
.btn{
height: 30px;
width: 70px;
border-radius: 10px;
margin-top: 20px;
}