码迷,mamicode.com
首页 > 移动开发 > 详细

安卓机器人实现

时间:2016-08-28 22:32:07      阅读:203      评论:0      收藏:0      [点我收藏+]

标签:

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

技术分享

安卓机器人实现

标签:

原文地址:http://www.cnblogs.com/Ma-lulu/p/5816064.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!