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>

运行结果:

相关推荐
郭老二8 小时前
【前端】vue3:编译步骤
前端
不在逃避q8 小时前
Trae/Vs Code/Cursor命令行无法跑npm命令
前端·arcgis·npm
夏殇之殁9 小时前
包中创建自定义列表项。 . 使用自定义列表项进行数据绑定 . 将天气预报数据保存到本地内存表,通过LiveBindings进行显示。 ...
服务器·前端·javascript
The Chosen One9859 小时前
高进度算法模板速记(待完善)
java·前端·算法
陈随易9 小时前
MoonBit抓包模块pcap,查看电脑的每一次联网通信
前端·后端·程序员
新中地GIS开发老师10 小时前
WebGIS开发学生作品|低空航天管理与航线规划系统
前端·javascript·webgis·三维gis开发
用户0595401744610 小时前
大模型对话记忆持久化踩坑实录:用 Playwright 自动化测了 300 次,终于揪出会话丢失的真凶
前端·css
丙氨酸長鏈10 小时前
Web前端入门第 问:JavaScript 一个简单的 IndexedDB 数据库入门示例
前端·javascript·数据库
kyriewen11 小时前
面试官让我手写虚拟列表——AI生成的版本,快速滚动几下就白屏了
前端·javascript·面试
IT_陈寒11 小时前
Vite热更新失效?你可能漏了这个配置
前端·人工智能·后端