body
{
margin: 0;
padding: 0;
width: 200px;
height: 200px;
margin-top: 13%;
margin-left: 40%;
user-select: none;
background-size: 100% 200%;
align-items: center;
background-repeat:no-repeat;
background-image:url('../img/d6435f87febd086aa951dbc84130135.jpg');
}
.wanzi{
width: 100%;
height: 100%;
}
#form {
width: 300px;
padding: 20px;
font-weight: 900;
border-radius: 10px;
/* background-color: #ffffff; */
/* box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); */
}
table {
width: 100%;
color: black;
}
td {
padding: 10px;
text-align: left;
}
input[type="text"],
input[type="password"] {
width: calc(100% - 20px);
/* 计算宽度,减去边距 */
padding: 10px;
margin: 5px 0;
border: 1px solid #ccc;
border-radius: 5px;
box-sizing: border-box;
}
input[type="button"] {
width: 100%;
padding: 10px;
margin-top: 10px;
background-color: aqua;
/* 设置按钮背景颜色 */
/* 设置按钮文字颜色 */
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s ease;
/* 添加过渡效果 */
}
input[type="button"]:hover {
background-color: pink;
/* 设置鼠标悬停时的背景颜色 */
}