/*用户登录注册页面输入框的设置*/的使用

时间:2024-10-24 10:34:26
 <!DOCTYPE html>
/*用户登录注册页面输入框的设置*/
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link rel="stylesheet" href="font-awesome-4.7.0/css/font-awesome.css">
<style>
body{
margin: 0;
}
.c1{
position: relative;
width: 170px;
height: 30px;
padding-right: 30px;
}
.c2{
position: absolute;
left: 180px;
top: 8px;
}
</style>
</head>
<body> <input type="text" class="c1">
<span class="fa fa-user-o c2"></span>/*用户登录注册页面输入框的设置*/
</body>
</html>