zoukankan      html  css  js  c++  java
  • 零基础~仿qq登录界面

    html代码:

    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="utf-8">
        <title>QQ登录界面</title>
        <link rel="stylesheet" type="text/css" href="css/index4.css">
    </head>
    <body>
        <div id="container">
            <div class="input">
                用户名:<input type="text" id="user">
            </div>
            <div class="input">&nbsp;码:<input type="password" id="password">
            </div>
            <div class="button">
                <input type="button" class="btn" value="登录">
                <input type="button" class="btn" value="注册">
            </div>
        </div>
    </body>
    </html>

    css代码:

    #container{
        height: 300px;
         400px;
        border: 1px solid;
        margin-top: 300px;
        margin-left: 40%;
        background-image: url("../img/qq.jpg");
        background-repeat: no-repeat;
        background-position: center center;
    }
    .input{
        height: 40px;
         280px;
        margin-top: 50px;
        margin-left: 50px;
    }
    .button{
        margin-top: 10px;
        margin-left: 100px;
    }
    .btn{
        margin-left: 30px;
    }
    #user{
        background-image: url("../img/head.png");
        background-repeat: no-repeat;/*图片背景取消平铺*/
        padding-left: 30px;
    }
    #password{
        background-image: url("../img/key.jpg");
        background-repeat: no-repeat;
        padding-left: 30px;
    }

    图片:                                    

  • 相关阅读:
    02.v-on的事件修饰符
    01.Vue的系统指令
    00-Vue的介绍和vue-cli
    vs code快捷键
    分库分表之后,主键的处理方法
    动态扩容分库分表
    前端web通过flask操作数据库-增删改查
    mysql组复制集群简介
    vsftp进阶-锁定目录
    kvm克隆
  • 原文地址:https://www.cnblogs.com/makangning/p/9367901.html
Copyright © 2011-2022 走看看