Skip to content

Commit

Permalink
修改首页登录框样式
Browse files Browse the repository at this point in the history
  • Loading branch information
ffay committed Apr 19, 2017
1 parent 8c69fb1 commit d3bba2e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions proxy-server/webpages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@
font-weight: 200;
}

form {
.form {
padding: 20px 0;
position: relative;
z-index: 2;
}

form input {
.form input {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
Expand All @@ -111,17 +111,17 @@
font-weight: 300;
}

form input:hover {
.form input:hover {
background-color: rgba(255, 255, 255, 0.4);
}

form input:focus {
.form input:focus {
background-color: white;
width: 300px;
color: #53e3a6;
}

form button {
.form button {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
Expand All @@ -138,7 +138,7 @@
transition-duration: 0.25s;
}

form button:hover {
.form button:hover {
background-color: #f5f7f9;
}
</style>
Expand All @@ -149,11 +149,11 @@
<div class="container">
<h1>LanProxy</h1>

<form class="form">
<div class="form">
<input type="text" class="username" placeholder="用户名">
<input type="password" class="password" placeholder="密码">
<button type="submit" id="login-button">登录</button>
</form>
</div>
</div>
</div>

Expand Down

0 comments on commit d3bba2e

Please sign in to comment.