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>

运行结果:

相关推荐
2501_944521596 小时前
Ramda 跨端三方库仓颉适配全流程
开发语言·javascript·flutter·php
Ken_11157 小时前
小体积附件下载正常,大附件下载异常
javascript
变与不变8068 小时前
jQuery怎么使用
前端·javascript
神膘护体小月半8 小时前
flex 布局的 order 属性
前端·css
paopaokaka_luck8 小时前
流浪动物救助与收养系统(DeepSeek AI对话、 ECharts多维分析、救助流程衔接、领养与回访衔接、 捐赠确认与公示、志愿者协作)
java·前端·javascript·人工智能·mysql·echarts·推荐算法
仰望.8 小时前
vue 表格组件 vxe-table 树表格懒加载支持拖拽排序的详细用法
前端·javascript·vue.js·vxe-table
前端 贾公子8 小时前
vite-plugin-uni-manifest 升级指南
前端
小码哥_常8 小时前
iPhone 用户传了张 HEIC,我的前端崩了
前端
小码哥_常8 小时前
你发的原图可能暴露你家地址——聊聊图片 EXIF 隐私
前端
java1234_小锋9 小时前
【技术专题】CSS3 网页技术 - CSS3 优先级
前端·css·css3