zoukankan      html  css  js  c++  java
  • 智能机器人

     智能机器人架构

    展示层代码

    html

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>robot</title>
        <link rel="stylesheet" href="index.css">
    </head>
    <body>
        <div id="chat">
            <div class="head">智能机器人</div>
            <div class="body"></div>
            <div class="foot">
                <input type="text" id="input">
                <div id="sendBtn">发送</div>
            </div>
        </div>
    </body>
    </html>

    css

    *{
        padding: 0px;
        margin: 0px;
    }
    html body{
        height: 100%;
        width: 100%;
    }
    
    #chat{
        width: 400px;
        height: 750px;
        background-color: blue;
        left: 50%;
        margin-left: -200px;
        position: relative;
    }
    
    .head{
        height: 50px;
        width: 100%;
        background-color: #5e5e5e;
        color: white;
        text-align: center;
        font-size: 25px;
        line-height: 50px;
    }
    
    .body{
        height: 650px;
        width: 100%;
        overflow-y: scroll;
        background-color: #ededed;
    }
    
    .foot{
        height: 50px;
        width: 100%;
        background-color:pink;
        position: relative;
    }
    
    #input{
        height: 25px;
        width: 250px;
        left: 10px;
        top: 50%;
        margin-top: -12px;
        position: absolute;
        border: none;
        outline: none;
        border-radius: 5px;
    }
    
    #sendBtn{
        height: 25px;
        width: 80px;
        position: absolute;
        background-color: blue;
        left: 300px;
        top: 50%;
        margin-top: -12px;
        cursor: pointer;
        border-radius: 5px;
        text-align: center;
        line-height: 25px;
        color: white;
    }
  • 相关阅读:
    51nod1376 最长递增子序列的数量
    51nod1201 整数划分
    51nod1202 子序列个数
    51nod 博弈论水题
    51nod1052 最大M子段和
    51nod1678 lyk与gcd
    51nod1262 扔球
    BZOJ2763, 最短路
    吃西瓜 最大子矩阵 三维的。 rqnoj93
    noip2015 信息传递 强连通块
  • 原文地址:https://www.cnblogs.com/qydknowledge/p/13589290.html
Copyright © 2011-2022 走看看