加入收藏 | 设为首页 | 会员中心 | 我要投稿 晋中站长网 (https://www.0354zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 系统 > 正文

CSS画出一个可爱神奇的多啦A梦

发布时间:2020-03-17 08:29:33 所属栏目:系统 来源:站长网
导读:副标题#e# 小叮当简单颜色单一,操作起来也很容易上手。接下来的一个实例就是用css画出一个多啦A梦,首先将其分为头部,和身体。然后,再根据身体各部分细节进行进一步的具体刻画。 由于最近一直在学习JavaWeb方面的东西,所以,我的这个小叮当就是用jsp页

    background:-webkit-gradient(linear,right top,left bottom,from(#fff),color-stop(0.70,#fff),color-stop(0.75,#f8f8f8),color-stop(0.80,#eee),color-stop(0.88,#ddd),to(#fff));   

    background:-moz-linear-gradient(right top,#fff,#fff 70%,#f8f8f8 75%,#eee 80%,#ddd 88%,#fff);   

    background:-ms-linear-gradient(right top,#fff,#fff 70%,#f8f8f8 75%,#eee 80%,#ddd 88%,#fff);   

    border: 2px solid #000;   

    top:250px;   

    left:92px;   

}   

.doraemon .bodys .pocket_mask{   

    position:relative;   

    height:60px;width:134px;   

    background:#fff;   

    border-bottom:2px solid #000;   

    top:125px;   

    left:92px;   

}   

  

.doraemon .hand_right{   

    height:100px;width:100px;   

    position:absolute;   

    top:272px;   

    left:248px;   

}   

.doraemon .hand_left{   

    height:100px;width:100px;   

    position:absolute;   

    top:272px;   

    left:-10px;   

}   

.doraemon .arm{   

    background:#07beea;   

    background:-webkit-gradient(linear,left top,left bottom,from(#07beea),color-stop(0.85,#07beea),to(#555));   

    background:-moz-linear-gradient(center top,#07beea,#07beea 85%,#555);   

    background:-ms-linear-gradient(center top,#07beea,#07beea 85%,#555);   

    border: 1px solid #000000;   

    position:relative;   

    height:50px;width:80px;   

    box-shadow:-10px 7px 10px rgba(0,0,0,0.35);   

    z-index:-1;   

}   

  

.doraemon .hand_right .arm{   

    top:17px;   

    transform:rotate(35deg);   

    -webkit-transform:rotate(35deg);   

}   

.doraemon .hand_left .arm{   

    top:17px;   

    background:#0096be;   

    box-shadow:5px -7px 10px rgba(0,0,0,0.25);   

    transform:rotate(145deg);   

    -webkit-transform:rotate(145deg);   

}   

.doraemon .circle{   

    background:#fff;   

(编辑:晋中站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

热点阅读