• 安卓机器人实现


    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
    .box{
    300px;
    height: 300px;
    border: 1px solid red;
    background-color: rgb(183,226,219);
    margin: 100px auto;
    }
    .header{
    145px;
    height: 70px;
    margin: 20px auto;
    background-color: rgb(148,194,72);
    border-radius: 75px 75px 0 0;
    position: relative;
    }
    .header::before{
    content: '';
    16px;
    height: 16px;
    background-color: white;
    position: absolute;
    top:30px;
    left:25px;
    border-radius: 50%;
    }
    .header::after{
    content: '';
    16px;
    height: 16px;
    background-color: white;
    position: absolute;
    top:30px;
    right:25px;
    border-radius: 50%;
    }
    .line{
    146px;
    height: 80px;
    position: absolute;
    }
    .line::before{
    content: '';
    6px;
    height: 30px;
    background-color: rgb(148,194,72);
    position: absolute;
    top: -10px;
    left: 15px;
    border-radius: 5px;
    transform: rotate(-30deg);
    }
    .line::after{
    content: '';
    6px;
    height: 30px;
    background-color: rgb(148,194,72);
    position: absolute;
    top: -10px;
    right: 15px;
    border-radius: 5px;
    transform: rotate(30deg);
    }
    .body{
    145px;
    height: 125px;
    margin: -10px auto;
    background-color: rgb(148,194,72);
    border-radius: 0 0 10px 10px;
    position: relative;
    }
    .body::before{
    content: '';
    height: 100px;
    30px;
    background-color: rgb(148,194,72);
    position: absolute;
    left: -35px;
    border-radius: 15px;
    }
    .body::after{
    content: '';
    height: 100px;
    30px;
    background-color: rgb(148,194,72);
    position: absolute;
    right: -35px;
    border-radius: 15px;
    }
    .footer{
    145px;
    margin: 10px auto;
    position: relative;
    }
    .footer::before{
    content: '';
    38px;
    height: 50px;
    background-color: rgb(148,194,72);
    position: absolute;
    left: 25px;
    border-radius: 0 0 17px 17px;
    }
    .footer::after{
    content: '';
    38px;
    height: 50px;
    background-color: rgb(148,194,72);
    position: absolute;
    right: 25px;
    border-radius: 0 0 17px 17px;
    }
    </style>
    </head>
    <body>
    <div class='box'>
    <div class="header">
    <div class="line"></div>
    </div>
    <div class="body"></div>
    <div class="footer"></div>
    </div>
    </body>
    </html>

    
    
  • 相关阅读:
    计算与软件工程 作业四
    计算与软件工程作业三
    计算机与软件工程作业二
    计算机与软件工程 作业一
    《WWXS团队》:团队项目选题报告
    计算与软件工程作业五
    计算与软件工程作业四
    计算与软件工程 作业三
    计算与软件工程 作业二
    计算与软件工程 作业一
  • 原文地址:https://www.cnblogs.com/Ma-lulu/p/5816064.html
Copyright © 2020-2023  润新知