0

0

HTML5+CSS3-机器猫

php中文网

php中文网

发布时间:2016-10-18 08:42:05

|

1072人浏览过

|

来源于php中文网

原创


立即学习前端免费学习笔记(深入)”;

机器猫

* {

margin: 0;

padding: 0;

}

.whole {

width: 800px;

margin: 20px auto;

/*border: 2px solid yellow;*/

background-color: white;

position: relative;

}

.head {

margin: 0 auto;

position: relative;

width: 500px;

height: 440px;

background-color: #00b7e7;

border-radius: 220px;

border: 1px solid red;

}

.eye .left_eye,

.eye .right_eye {

width: 100px;

height: 130px;

background-color: white;

border: 2px solid black;

HTML5 MP3音乐盒播放特效
HTML5 MP3音乐盒播放特效

HTML5 MP3音乐盒播放特效是一款基于html5+css3制作可爱的音乐盒表情,点击开关按钮mp3音乐播放器。

下载

border-radius: 50px;

position: absolute;

top: 50px;

z-index: 3;

}

.eye .LeyeBall,

.eye .ReyeBall {

width: 20px;

height: 20px;

background: black;

border-radius: 10px;

position: absolute;

top: 65px;

}

.eye .left_eye {

left: 146px;

}

.eye .right_eye {

left: 250px;

}

.eye .LeyeBall {

right: 10px;

}

.eye .ReyeBall {

left: 10px;

}

.face {

position: relative;

z-index: 2;

}

.face .feature {

width: 400px;

height: 320px;

border-radius: 160px;

position: absolute;

top: 100px;

left: 50px;

background: white;

}

.face .nose {

width: 45px;

height: 50px;

border-radius: 23px;

background-color: #cf3318;

border: 2px solid black;

position: absolute;

top: 165px;

left: 225px;

z-index: 3;

}

.face .Nline {

width: 3px;

height: 160px;

background: black;

position: absolute;

top: 218px;

left: 248px;

z-index: 3;

}

.face .mouth {

width: 280px;

height: 280px;

border-bottom: 5px solid black;

border-radius: 140px;

position: absolute;

top: 98px;

left: 105px;

}

.face .mustache .MutR_higher {

width: 80px;

height: 2px;

background: black;

position: absolute;

top: 220px;

left: 295px;

z-index: 2;

}

.face .mustache .MutR_middle {

width: 80px;

height: 2px;

background: black;

position: absolute;

top: 240px;

left: 295px;

z-index: 2;

}

.face .mustache .MutR_lower {

width: 80px;

height: 2px;

background: black;

position: absolute;

top: 260px;

left: 295px;

z-index: 2;

}

.face .mustache .MutL_top {

width: 80px;

height: 2px;

background: black;

position: absolute;

top: 220px;

left: 115px;

z-index: 2;

}

.face .mustache .MutL_center {

width: 80px;

height: 2px;

background: black;

position: absolute;

top: 240px;

left: 115px;

z-index: 2;

}

.face .mustache .MutL_bottom {

width: 80px;

height: 2px;

background: black;

position: absolute;

top: 260px;

left: 115px;

z-index: 2;

}

.face .mustache .MutL_bottom,

.face .mustache .MutR_higher {

transform: rotate(160deg);

}

.face .mustache .MutL_top,

.face .mustache .MutR_lower {

transform: rotate(200deg);

}

.neck {

width: 300px;

height: 30px;

background-color: #a31f12;

border: 2px solid black;

border-radius: 15px;

position: relative;

top: 0px;

left: 250px;

z-index: 4;

}

.neck .bell {

width: 60px;

height: 60px;

overflow: hidden;

border: 2px solid black;

border-radius: 60px;

background-color: #cfcb3c;

position: absolute;

top: 5px;

left: 120px;

}

.bell .Bline {

width: 60px;

height: 2px;

background-color: #cfcb3c;

border: 2px solid black;

border-radius: 3px 3px 0 0;

position: absolute;

top: 15px;

}

.bell .Bcircle {

width: 20px;

height: 16px;

background: black;

border-radius: 8px;

position: absolute;

top: 25px;

left: 20px;

}

.bell .Bunderpart {

width: 3px;

height: 20px;

background-color: black;

position: absolute;

left: 28px;

top: 40px;

}

.body {

position: relative;

top: -300px;

z-index: 1;

}

.body .tummy {

width: 280px;

height: 240px;

background-color: #00b1e1;

border: 2px solid black;

position: absolute;

top: 267px;

left: 260px;

}

.body .bellyband {

width: 220px;

height: 220px;

background-color: white;

border: 2px solid black;

border-radius: 110px;

position: absolute;

left: 290px;

top: 267px;

}

.body .pocket {

width: 160px;

height: 160px;

border-radius: 80px;

background-color: white;

border: 2px solid black;

position: absolute;

top: 305px;

left: 320px;

}

.cover {

width: 164px;

height: 80px;

background-color: white;

border-bottom: 2px solid black;

/*border: 5px solid orange;*/

position: absolute;

top: 300px;

left: 320px;

}

.left_hand,

.right_hand {

height: 100px;

width: 100px;

position: absolute;

top: 272px;

left: 248px;

}

.left_hand {

left: -10px;

}

.left_hand .Larm {

width: 70px;

height: 100px;

background-color: #00bee8;

border: 1px solid black;

position: relative;

top: 200px;

left: 535px;

transform: rotateZ(135deg);

/*z-index: -1;*/

}

.right_hand {

left: -10px;

}

.right_hand .Rarm {

width: 70px;

height: 100px;

background-color: #00bee8;

border: 1px solid black;

/*z-index: -1;*/

position: relative;

top: 200px;

left: 215px;

transform: rotateZ(45deg);

}

.left_hand .Lpalm,

.right_hand .Rpalm {

width: 80px;

height: 80px;

border-radius: 40px;

border: 2px solid black;

background-color: white;

position: absolute;

}

.right_hand .Rpalm {

left: 580px;

top: 260px;

z-index: 1;

}

.left_hand .Lpalm {

left: 160px;

top: 260px;

z-index: 1;

}

.foot .left_foot,

.foot .right_foot {

width: 150px;

height: 40px;

background-color: white;

border: 2px solid black;

border-radius: 80px 60px 60px 40px;

position: relative;

}

.foot .left_foot {

left: 240px;

top: 210px;

}

.foot .right_foot {

top: 165px;

left: 410px;

}

.foot .crotch {

width: 40px;

height: 20px;

background-color: white;

border: 2px solid black;

border-bottom: none;

border-radius: 40px 40px 0 0;

position: relative;

top: 103px;

left: 382px;

z-index: 2

}






























相关文章

HTML速学教程(入门课程)
HTML速学教程(入门课程)

HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!

下载

本站声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn

热门AI工具

更多
DeepSeek
DeepSeek

幻方量化公司旗下的开源大模型平台

豆包大模型
豆包大模型

字节跳动自主研发的一系列大型语言模型

通义千问
通义千问

阿里巴巴推出的全能AI助手

腾讯元宝
腾讯元宝

腾讯混元平台推出的AI助手

文心一言
文心一言

文心一言是百度开发的AI聊天机器人,通过对话可以生成各种形式的内容。

讯飞写作
讯飞写作

基于讯飞星火大模型的AI写作工具,可以快速生成新闻稿件、品宣文案、工作总结、心得体会等各种文文稿

即梦AI
即梦AI

一站式AI创作平台,免费AI图片和视频生成。

ChatGPT
ChatGPT

最最强大的AI聊天机器人程序,ChatGPT不单是聊天机器人,还能进行撰写邮件、视频脚本、文案、翻译、代码等任务。

相关专题

更多
2026赚钱平台入口大全
2026赚钱平台入口大全

2026年最新赚钱平台入口汇总,涵盖任务众包、内容创作、电商运营、技能变现等多类正规渠道,助你轻松开启副业增收之路。阅读专题下面的文章了解更多详细内容。

54

2026.01.31

高干文在线阅读网站大全
高干文在线阅读网站大全

汇集热门1v1高干文免费阅读资源,涵盖都市言情、京味大院、军旅高干等经典题材,情节紧凑、人物鲜明。阅读专题下面的文章了解更多详细内容。

40

2026.01.31

无需付费的漫画app大全
无需付费的漫画app大全

想找真正免费又无套路的漫画App?本合集精选多款永久免费、资源丰富、无广告干扰的优质漫画应用,涵盖国漫、日漫、韩漫及经典老番,满足各类阅读需求。阅读专题下面的文章了解更多详细内容。

50

2026.01.31

漫画免费在线观看地址大全
漫画免费在线观看地址大全

想找免费又资源丰富的漫画网站?本合集精选2025-2026年热门平台,涵盖国漫、日漫、韩漫等多类型作品,支持高清流畅阅读与离线缓存。阅读专题下面的文章了解更多详细内容。

12

2026.01.31

漫画防走失登陆入口大全
漫画防走失登陆入口大全

2026最新漫画防走失登录入口合集,汇总多个稳定可用网址,助你畅享高清无广告漫画阅读体验。阅读专题下面的文章了解更多详细内容。

13

2026.01.31

php多线程怎么实现
php多线程怎么实现

PHP本身不支持原生多线程,但可通过扩展如pthreads、Swoole或结合多进程、协程等方式实现并发处理。阅读专题下面的文章了解更多详细内容。

1

2026.01.31

php如何运行环境
php如何运行环境

本合集详细介绍PHP运行环境的搭建与配置方法,涵盖Windows、Linux及Mac系统下的安装步骤、常见问题及解决方案。阅读专题下面的文章了解更多详细内容。

0

2026.01.31

php环境变量如何设置
php环境变量如何设置

本合集详细讲解PHP环境变量的设置方法,涵盖Windows、Linux及常见服务器环境配置技巧,助你快速掌握环境变量的正确配置。阅读专题下面的文章了解更多详细内容。

0

2026.01.31

php图片如何上传
php图片如何上传

本合集涵盖PHP图片上传的核心方法、安全处理及常见问题解决方案,适合初学者与进阶开发者。阅读专题下面的文章了解更多详细内容。

2

2026.01.31

热门下载

更多
网站特效
/
网站源码
/
网站素材
/
前端模板

精品课程

更多
相关推荐
/
热门推荐
/
最新课程
jQuery Mobile经典教程
jQuery Mobile经典教程

共32课时 | 17.3万人学习

关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号