<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>程序员之家</title>
    <style>
        html {
            background: url(lib/timg.jpg)fixed;
            -webkit-background-size: cover;
            -moz-background-size: cover;
            -o-background-size: cover;
            background-size: cover;
        }
    </style>
</head>
<body>
    <br><br><br><br><br><br>
    <div class="text" style=" text-align:center; color aliceblue "><font size="+3">欢迎访问程序员之家</font></div>
    <br>
    <br>
    <br>
    <br>
    <div style="text-align:center;">
        <input type="text" placeholder="用户名" style="align:center; width:200px; height:25px;background-color:rgba(255,255,255,255);
border-color:rgba(255,255,255,255);
color: rgba(0, 0, 0,255);
border-style:solid;
border-width:2px;
border-radius:10px;
font:19px " 宋体";" />
    </div>
    <br>
    <div style="text-align:center;">
        <input type="text" placeholder="密码" style="width:200px; height:25px;background-color:rgba(255,255,255,255);
border-color:rgba(255,255,255,255);
color: rgba(0, 0, 0,255);
border-style:solid;
border-width:2px;
border-radius:10px;
font:19px " 宋体";" />
    </div>
    <div style="text-align: center">
        <a href="baidu.com" style="text-decoration:none;color: aliceblue">
            <font size="2">
                                                   忘记密码?
            </font>
        </a>
    </div>
    <br>
    <div style="text-align: center">
        <button type="button" style="background-color:rgba(255,0,0,0);border-color:rgba(255,255,255,255);color: rgba(255, 255, 255,255);border-style:solid;border-width:2px;border-radius:5px;font:19px " 宋体";">    立即登录    </button>
        <button type="button2" style="background-color:rgba(255,0,0,0);border-color:rgba(255,255,255,255);color: rgba(255, 255, 255,255);border-style:solid;border-width:2px;border-radius:5px;font:19px " 宋体";">    注册账户    </button>
    </div>
</body>
</html>

html登录页面学习_css