html登录页面学习

2020/11/11 13:05
阅读数 15
<!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">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;忘记密码?
            </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 " 宋体";">&nbsp;&nbsp;&nbsp;&nbsp;立即登录&nbsp;&nbsp;&nbsp;&nbsp;</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 " 宋体";">&nbsp;&nbsp;&nbsp;&nbsp;注册账户&nbsp;&nbsp;&nbsp;&nbsp;</button>
    </div>
</body>
</html>

在这里插入图片描述

展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部