This commit is contained in:
vickihe
2019-08-25 21:42:37 +08:00
parent 66f8d1b0c8
commit 068bd96f95
3 changed files with 34 additions and 20 deletions

View File

@@ -15,9 +15,9 @@
<div>
<!-- 先空着action不知道填什么 -->
<form action="" id="name">
用户名:<input type="text" name="name" ><br><br>
密码:<input type="password" name="password"><br><br>
<input type="submit">
<input type="text" name="name" placeholder="用户名" autofocus><br><br><br>
<input type="password" name="password" placeholder="密码"><br><br><br>
<input type="submit" id="submit" value="OK">
</form>
</div>
</div>

View File

@@ -8,8 +8,7 @@ body {
font-style: italic;
font-family: sans-serif;
font-size: 125px;
text-align: center;
position: absolute;
position: relative;
top: 120px;
/* background-color: yellow; */
@@ -20,29 +19,44 @@ body {
font-family: youyuan;
font-size: 30px;
text-align: center;
position: relative;
top: 140px;
position: absolute;
top: 100px;
}
#name {
width: 120px;
/* width: 120px; */
width: 100%;
color: slategray;
font-family: youyuan;
font-size: 24px;
position: relative;
left: 490px;
top: 150px;
text-align: center;
position: absolute;
/* left: 490px; */
top: 230px;
}
input[name] {
height: 27px;
border: none;
position: absolute;
left: 150px;
background-color: rgba(240, 248, 255, 0);
height: 30px;
border: 0.5px solid rgba(128, 128, 128, 0.5);
border-radius: 15px;
position: relative;
font-family: youyuan;
text-align: center;
font-size: 18px;
outline: none;
}
input[password] {
height: 27px;
#submit {
background-color: rgba(255, 239, 213);
height: 40px;
width: 40px;
border: none;
position: absolute;
left: 150px;
font-family: youyuan;
border-radius: 100%;
font-size: 22px;
color: white;
padding: 0;
outline: none;
}
#submit:hover {
width: 45px;
height: 45px;
background-color: rgba(255, 239, 213, 0.582);
}

BIN
web/图标/箭头01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB