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
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
<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 -->
<div class="box">
<form action="/login" method="post">
<label for="username">Username:</label>
<input type="text" id="username" name="username" required>
Expand All @@ -15,6 +17,6 @@
<input type="password" id="password" name="password" required>
<br>
<button type="submit">Login</button>

</div>
</body>
</html>
11 changes: 11 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
body {
background: linear-gradient(to right,red,yellow);
}
.box{
font-size: 50px;
margin: 100px auto;
text-align: center;
}
button{
font-size: xx-large;
}