web网页QQ登录

代码:

复制代码
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>QQ登录ent</title>
</head>
<style>
    ul > li{
    list-style: none;
}
a {
    text-decoration: none;
}
 
ul.qq {
    background-color: #38acef;
    width: 650px;
    height: 45px;
    border-radius: 3px;
}
 
ul >li.QQ{
    width: 80px;
    height: 40px;
    font-size: 22px;
    float: left;
    text-align: center;
    margin-top: 10px;
    color: white;
    border-left: 1px solid white;
}
 
ul > li {
    width: 60px;
    height: 18px;
    font-size: 12px;
    float: right;
    text-align: center;
    margin-top: 18px;
    color: white;
    border-left: 1px solid white;
}
 
 
ul > li:last-child{
    border: none;
}
ul > li:nth-last-child(2){
    border: none;
}
 
div.left{
    width: 360px;
    height: 340px;
    text-align: center;
}
 
div.reight{
    position: absolute;
    top: 112px;
    left: 380px;
    width: 230px;
    height: 340px;
    text-align: left;
}
    .font1{
        font-size: 16px;
    }
    .font2{
        font-size: 13px;
        color: rgb(100, 98, 98);
    }
    .font3{
        font-size: 10px;
        color: rgb(132, 126, 126);
        
    }
    .font4 {
        font-size: 11px;
    }
    .style1 {
        color: rgba(35, 107, 231, 0.785);
        font-size: 13px;
    }
    .style2 {
        color: rgb(70, 69, 69);
        font-size: 11px;
    }
    .style3 {
        color: rgb(46, 46, 46);
        font-size: 12px;
    }
    
    
    input {
        width: 206px;
        padding: 8px ;
        border: 1px solid #ddd;
        border-radius: 2px;
        margin-bottom: 8px;
        font-size: 12px;
     
        
    }
    button  {
        background-color: #84d43e;
        color: white;
        border: none;
        height: 36px;
        padding: 8px 78px;
        cursor: pointer;
        border-radius: 2px;
    }

</style>
<body>
    <div>
        <ul class="qq">
            <li >申请接入</li>
            <li >授权管理</li>
            <li >QQ登录</li>
            <li class="QQ">QQ登录</li>
        </ul>
    </div>
    
    <div class="left">
                <p class="font1">账号密码登录</p>
                <p class="font2" >推荐使用<span class="style1">快速安全登录</span>,防止盗号。</p>
                <form action="#" method="post">
               <p >
                <input type="text" name="number" placeholder="支持QQ号/邮箱/手机号登录" >
               </p>
                <p>
                    <input type="password" name="password" placeholder="密码">
                </p>
                <p><button type="submit">授权并登录</button></p>
                <p align="right" class="font3" style="line-height:38px ;">
                    忘了密码?|&nbsp;注册新账号&nbsp;|&nbsp;意见反馈&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </p>
                </form>
    </div>
           
    <div class="reight">
                    <form action="#" method="post">
                    <p style="border-top: 1px solid rgb(220, 219, 219);"></p>
                    <span class="font4"><a href="http:\\www.qq.com" target="_blank" style="color: rgba(80, 193, 254, 0.92);" >腾讯网</a>        
                                    将获得以下权限:</span>
                    <p style="border-top: 1px solid rgb(220, 219, 219);"></p>
                    <p class="style2">
                    <input type="checkbox"  name="box" value="全选" style="width: 9px;"  checked>全选
                    </p>
                    <p style="border-top: 1px solid rgb(220, 219, 219);" ></p>
                    <p class="style2">
                    <input type="checkbox" name="box" value="获得您的昵称、头像、性别及会员信息" style="width: 9px;" checked>获得您的昵称、头像、性别及会员信息
                    </p>
                    <p class="style3">
                    授权后表明你已同意&nbsp;<a href="#" target="_blank" style="color: rgba(80, 193, 254, 0.92);">QQ登录服务协议</a>
                    </p> 

                    </form>
    </div>
</body>
</html>

运行结果:

相关推荐
清汤饺子5 小时前
OpenClaw 本地部署教程 - 从 0 到 1 跑通你的第一只龙虾
前端·javascript·vibecoding
颜酱5 小时前
图的数据结构:从「多叉树」到存储与遍历
javascript·后端·算法
爱吃的小肥羊7 小时前
比 Claude Code 便宜一半!Codex 国内部署使用教程,三种方法任选一!
前端
IT_陈寒8 小时前
SpringBoot项目启动慢?5个技巧让你的应用秒级响应!
前端·人工智能·后端
树上有只程序猿9 小时前
2026低代码选型指南,主流低代码开发平台排名出炉
前端·后端
橙某人9 小时前
LogicFlow 小地图性能优化:从「实时克隆」到「占位缩略块」!🚀
前端·javascript·vue.js
高端章鱼哥9 小时前
为什么说用OpenClaw对打工人来说“不划算”
前端·后端
大脸怪9 小时前
告别 F12!前端开发者必备:一键管理 localStorage / Cookie / SessionStorage 神器
前端·后端·浏览器
Mr_Mao9 小时前
我受够了混乱的 API 代码,所以我写了个框架
前端·api
小徐_23339 小时前
向日葵 x AI:把远程控制封装成 MCP,让 AI 替我远程控制设备
前端·人工智能