色婷婷狠狠18禁久久YY,CHINESE性内射高清国产,国产女人18毛片水真多1,国产AV在线观看

html特效注冊頁面代碼

錢諍諍1年前8瀏覽0評論

HTML 特效注冊頁面代碼

<html>
<head>
<title>注冊頁面</title>
<style>
/* 注冊頁面樣式 */
body {
font-family: Arial, sans-serif;
background-color: #f2f2f2;
}
#register-box {
width: 50%;
margin: 0 auto;
padding: 30px;
background-color: #fff;
border: 1px solid #ccc;
}
#register-box h1 {
text-align: center;
}
#register-box label {
display: inline-block;
width: 100px;
margin-bottom: 10px;
}
#register-box input[type="text"],
#register-box input[type="email"],
#register-box input[type="password"] {
width: 70%;
padding: 10px;
margin-bottom: 20px;
border-radius: 5px;
border: none;
box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}
#register-box input[type="submit"] {
background-color: #00a5b5;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
}
#register-box input[type="submit"]:hover {
background-color: #0097a7;
}
/* 輸入框提示語 */
.input-tip {
position: relative;
}
.input-tip:hover .tip {
display: block;
}
.tip {
position: absolute;
top: 0;
left: 110%;
display: none;
background-color: #fff;
border: 1px solid #ccc;
box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
padding: 5px 10px;
border-radius: 5px;
}
</style>
</head>
<body>
<div id="register-box">
<h1>注冊</h1>
<form action="" method="post">
<label for="username">用戶名:</label>
<div class="input-tip">
<input type="text" id="username" name="username" placeholder="請輸入用戶名">
<div class="tip">6-20個字符,可以使用字母、數字、特殊字符</div>
</div>
<label for="email">郵箱:</label>
<div class="input-tip">
<input type="email" id="email" name="email" placeholder="請輸入郵箱">
<div class="tip">請輸入有效的郵箱地址</div>
</div>
<label for="password">密碼:</label>
<div class="input-tip">
<input type="password" id="password" name="password" placeholder="請輸入密碼">
<div class="tip">6-20個字符,可以使用字母、數字、特殊字符</div>
</div>
<input type="submit" value="注冊">
</form>
</div>
</body>
</html>