html如何制作安卓,css绘制安卓机器人

* {

margin:0;

padding:0;

}

.center {

width:350px;

height:450px;

margin:0 auto;

/* border:1px solid red;

*/

position:relative;

transition:all 5s ease;

}

.center:hover {

opacity:.01;

background-color:aquamarine;

}

.head-left,.head-right {

width:50px;

height:5px;

background-color:greenyellow;

position:absolute;

top:30px;

}

.head-left {

left:60px;

transform:rotate(45deg);

}

.head-right {

right:60px;

transform:rotate(-45deg);

}

.face {

position:absolute;

top:10px;

left:calc(50% - 100px);

width:200px;

height:100px;

background-color:greenyellow;

border-radius:100px 100px 0 0;

}

.eyes-left,.eyes-right {

width:15px;

height:15px;

background-color:black;

border-radius:50%;

position:absolute;

top:60px;

}

.eyes-left {

left:100px;

}

.eyes-right {

right:100px;

}

.belly {

width:200px;

height:230px;

background-color:greenyellow;

position:absolute;

top:120px;

left:75px;

border-radius:0 0 20px 20px

}

.hand-left,.hand-right {

width:50px;

height:180px;

background-color:greenyellow;

border-radius:30px 30px 30px 30px;

position:absolute;

top:130px;

}

.hand-right {

right:0;

}

.foot-left,.foot-right {

width:50px;

height:100px;

background-color:greenyellow;

position:absolute;

bottom:25px;

border-radius:30px 30px 30px 30px;

}

.foot-left {

left:110px;

}

.foot-right {

right:110px;

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值