CSS

语言:

CSSSCSS

确定

@import url(https://fonts.googleapis.com/css?family=Press+Start+2P);

body {

background-color: #F79329;

}

.container {

margin: 0 auto;

padding: 10px;

text-align: center;

}

h2 {

font-family: 'press start 2p';

color: #2F2F2F;

}

.face {

width: 200px;

height: 200px;

background-color: #FCC21B;

margin: 55px auto 0;

border-radius: 50%;

moz-border-radius: 50%;

position: relative;

animation: hover 5s ease-in-out infinite;

animation-direction: alternate;

}

.eye1,

.eye2 {

position: absolute;

height: 20px;

width: 20px;

background-color: #2F2F2F;

border-radius: 50%;

top: 88px;

animation: blink 2s ease-in-out infinite;

}

.eye1 {

left: 45px;

}

.eye2 {

left: 140px;

}

.happyeye {

position: absolute;

top: 88px;

height: 20px;

width: 20px;

background-color: #2F2F2F;

border-radius: 50%;

animation: none;

transition: all 0.3s linear;

animation: blink 4s ease-in-out infinite;

}

.happyeye:after {

position: absolute;

content: "";

height: 20px;

width: 20px;

background-color: #FCC21B;

border-radius: 50%;

top: 9px;

left: 0px;

}

.sadeye {

position: absolute;

height: 20px;

width: 20px;

background-color: #2F2F2F;

border-radius: 50%;

top: 88px;

border-bottom: 5px solid #38AFE9;

transition: all 0.3s linear;

animation: blink 2s ease-in-out infinite, crying 1s ease-in-out infinite;

animation-direction: alternate;

}

.loveeye {

position: absolute;

height: 20px;

width: 20px;

background-color: #FF88C8;

transform: rotate(-45deg);

border-bottom: 2px solid #FF34BA;

border-left: 2px solid #FF34BA;

top: 86px;

border-radius: 0%;

animation: beat 2s ease-in-out infinite;

}

.loveeye:before {

position: absolute;

content: "";

height: 20px;

width: 20px;

background-color: #FF88C8;

border-radius: 50%;

transform: rotate(-225deg);

top: 0px;

left: 12px;

border-top: 2px solid #FF34BA;

border-left: 2px solid #FF34BA;

}

.loveeye:after {

position: absolute;

content: "";

height: 20px;

width: 20px;

background-color: #FF88C8;

border-radius: 50%;

transform: rotate(-310deg);

top: -15px;

left: -2px;

border-top: 2px solid #FF34BA;

border-left: 2px solid #FF34BA;

}

.mouth {

position: absolute;

height: 5px;

width: 40px;

background-color: #FCC21B;

border: 3px solid transparent;

border-bottom: 5px solid #2F2F2F;

border-radius: 5px;

top: 125px;

left: 82px;

}

.happymouth {

position: absolute;

height: 30px;

width: 45px;

background-color: #FCC21B;

border-radius: 50%;

border: 3px solid transparent;

border-bottom: 5px solid #2F2F2F;

top: 105px;

left: 79px;

transition: all 0.3s linear;

}

.sadmouth {

position: absolute;

height: 30px;

width: 45px;

background-color: #FCC21B;

border-radius: 50%;

border: 3px solid transparent;

border-top: 5px solid #2F2F2F;

top: 125px;

left: 79px;

transition: all 0s linear;

}

.cheek {

position: absolute;

top: 100px;

left: 20px;

background: radial-gradient(#F79329 5%, transparent 50%);

border-radius: 50%;

width: 60px;

height: 60px;

transition: all 0.3s linear;

}

.cheek2 {

position: absolute;

content: "";

top: 100px;

left: 125px;

background: radial-gradient(#F79329 5%, transparent 50%);

border-radius: 50%;

width: 60px;

height: 60px;

transition: all 0.3s linear;

}

.lovecheeks {

position: absolute;

background: radial-gradient(#F79329 5%, transparent 50%);

border-radius: 50%;

width: 75px;

height: 75px;

transition: all 0.3s linear;

margin-left: -5px;

}

.bouncy {

animation: select 1s ease-in-out infinite;

}

@keyframes hover {

0% {

transform: translateY(0);

}

35% {

transform: translateY(-10px);

}

85% {

transform: translateY(-5px);

}

100% {

transform: translateY(0);

}

}

@keyframes blink {

0% {

height: 20px;

}

97% {

height: 20px;

}

100% {

height: 0px;

}

}

@keyframes crying {

0% {

border-bottom: 5px solid #38AFE9;

}

97% {

border-bottom: 10px solid #38AFE9;

}

100% {

border-bottom: 15px solid #38AFE9;

}

}

@keyframes beat {

0% {

transform: scale(1.2) rotate(-45deg);

;

}

97% {

transform: scale(1.0) rotate(-45deg);

}

100% {

transform: scale(1.4) rotate(-45deg);

;

}

}

@keyframes select {

0% {

transform: translateY(0);

}

50% {

transform: translateY(-5px);

}

100% {

transform: translateY(0);

}

}

html5表情包网站,HTML5 CSS3 可爱的表情动画相关推荐

  1. python从入门到入土表情包-Python开发个人专属表情包网站,表情在手,天下我有...

    "表情包"是一种利用图片来表示感情的一种方式.表情包是在社交软件活跃之后,形成的一种流行文化,表情包流行于互联网上面,基本人人都会发表情. 曾经你是否也有过找不到表情包去应对别人的 ...

  2. python恶搞表情包-Python开发个人专属表情包网站,表情在手,天下我有

    "表情包"是一种利用图片来表示感情的一种方式.表情包是在社交软件活跃之后,形成的一种流行文化,表情包流行于互联网上面,基本人人都会发表情. 曾经你是否也有过找不到表情包去应对别人的 ...

  3. python开发专属表情包_Python开发个人专属表情包网站

    "表情包"是一种利用图片来表示感情的一种方式.表情包是在社交软件活跃之后,形成的一种流行文化,表情包流行于互联网上面,基本人人都会发表情. 曾经你是否也有过找不到表情包去应对别人的 ...

  4. 现表情包大幅流行,今天教你们开发个人表情包网站

    本文的文字及图片来源于网络,仅供学习.交流使用,不具有任何商业用途,版权归原作者所有,如有问题请及时联系我们以作处理 以下文章来源于腾讯云 作者:python学习教程 ( 想要学习Python?Pyt ...

  5. python开发专属表情包_Python开发个人专属的表情包网站

    前言 本文的文字及图片来源于网络,仅供学习.交流使用,不具有任何商业用途,版权归原作者所有,如有问题请及时联系我们以作处理. "表情包"是一种利用图片来表示感情的一种方式.表情包是 ...

  6. 为了治好你的脸盲,这家表情包网站开源了一个明星识别器丨GitHub

    郭一璞 发自 凹非寺  量子位 报道 | 公众号 QbitAI 小鲜肉太多,让人分不清,需要AI替我识别,这又是谁家的爱豆. 现在,有一家公司来拯救脸盲了,不是你熟悉的硅谷/后厂村大公司,而是一家动图 ...

  7. python爬表情包_教你用Python来爬取表情包网站的所有表情图片

    教你用Python来爬取表情包网站的所有表情图片 配置环境 安装Python 开发环境 3X系列 win + R 打开运行,输入cmd,输入python,进行验证是否安装Python win + R ...

  8. Python:网络爬虫爬取某表情包网站

    Python:网络爬虫爬取某表情包网站 参考: 爬虫基础知识点汇总(html文件基础和4个常用库 超级详细长文预警) [爬虫教程]吐血整理,最详细的爬虫入门教程~ HTML的简单介绍 HTML的全称为 ...

  9. 教你用Python爬取表情包网站下的全部表情图片

    教你用Python爬取表情包网站下的全部表情图片 又是我啦~~~ 最近上网的时候老看到有人用Python爬取表情包,心痒痒自己也整了一个. 使用到的扩展库:BeautifulSoup, request ...

最新文章

  1. 虚拟dom与diff算法 分析
  2. Linux I2C核心、总线与设备驱动(一)
  3. 田刚院士:鼓励发展新型特色研究型大学
  4. c语言 结构体_颖儿教你学C语言结构体,全面讲解,让程序小白玩转结构体编程...
  5. 您从事运维有几年了?
  6. 全球最厉害的14位程序员!你知道有哪几位?
  7. 2021-06-26数组详解
  8. Mac 10.12安装Windows远程桌面工具Microsoft Remote Desktop
  9. VS2008编译TrueCrypt
  10. 用Python实现一个电影订票系统
  11. freemarker导出word文档中的复选框打钩功能
  12. jsonp跨域的原理
  13. mysql bad handshark_故障分析 | Bad handshake,升级 5.7.28 引起的“血案”
  14. pandas将csv文件保存文feather格式,大大加快读取速度
  15. 齐齐哈尔鹤城计算机学校,齐齐哈尔阳光学校
  16. Spring cacheable
  17. CTF-Anubis HackTheBox 渗透测试(二)
  18. Android获取通讯录权限6.0及以上
  19. 对ResNet的理解
  20. 虚拟机和本机拷贝数据:

热门文章

  1. 服务器维修会有补偿吗,元气骑士首次服务器维护,无数玩家第1次见,这4点一定要注意...
  2. 贷款那些事之还款方式到期还本(四)
  3. 科沃斯机器人阿尔法怎么样_网友如何评价科沃斯阿尔法智能扫地机器人
  4. A. Google SRE概述
  5. 小程序1.7亿日活,微信张小龙亲临2018微信公开课PRO发表演讲
  6. xlwings删除excel前三行和第五行
  7. 【京东商家应用接口】拼多多店铺常见会被处罚的三种情况和解决这三个被处罚的方法
  8. 借钱的境界:开价越低 借成的机会反而越小
  9. 【笔记】计算机视觉重要会议(一)
  10. 基于 Spring Boot 的车牌识别系统(附项目地址)!