使用纯css3写出来的表情包 (^v^)

效果如图所示:

使用纯css3写出来的表情包 (^v^)

不多说,我们直接一个一个来写出,主要列出每个表情的结构,样式我们统一写出,基本全部会用到,颜色以及结构可以根据自己的需求来调整。(里面可是没有一张图片的哦)

页面预览:http://211.140.7.173:8081/t/wuhairui/表情包/

使用纯css3写出来的表情包 (^v^)(顶赞)

<div class="emoji  emoji--like">
<div class="emoji__hand">
<div class="emoji__thumb"></div>
</div>
</div>

使用纯css3写出来的表情包 (^v^)(喜欢)

<div class="emoji  emoji--love">
<div class="emoji__heart"></div>
</div>

使用纯css3写出来的表情包 (^v^)(哈哈)

<div class="emoji  emoji--haha">
<div class="emoji__face">
<div class="emoji__eyes"></div>
<div class="emoji__mouth">
<div class="emoji__tongue"></div>
</div>
</div>
</div>

使用纯css3写出来的表情包 (^v^)(微笑)

<div class="emoji  emoji--yay">
<div class="emoji__face">
<div class="emoji__eyebrows"></div>
<div class="emoji__mouth"></div>
</div>
</div>

使用纯css3写出来的表情包 (^v^)(吃惊)

<div class="emoji  emoji--wow">
<div class="emoji__face">
<div class="emoji__eyebrows"></div>
<div class="emoji__eyes"></div>
<div class="emoji__mouth"></div>
</div>
</div>

使用纯css3写出来的表情包 (^v^)(哭泣)

<div class="emoji  emoji--sad">
<div class="emoji__face">
<div class="emoji__eyebrows"></div>
<div class="emoji__eyes"></div>
<div class="emoji__mouth"></div>
</div>
</div>

使用纯css3写出来的表情包 (^v^)(发怒)

<div class="emoji  emoji--angry">
<div class="emoji__face">
<div class="emoji__eyebrows"></div>
<div class="emoji__eyes"></div>
<div class="emoji__mouth"></div>
</div>
</div>

最后我们把样式全部列举出来。我们可以根据自己的需求和喜好进行二次调整

.emoji {
width: 120px;
height: 120px;
margin: 15px 15px 40px;
background: #FFDA6A;
display: inline-block;
border-radius: 50%;
position:relative;
}
.emoji:after {
position: absolute;
bottom: -40px;
font-size: 18px;
width: 60px;
left: calc(50% - 30px);
color: #8A8A8A;
} .emoji__face, .emoji__eyebrows, .emoji__eyes, .emoji__mouth, .emoji__tongue, .emoji__heart, .emoji__hand, .emoji__thumb {
position: absolute;
}
.emoji__face:before, .emoji__face:after, .emoji__eyebrows:before, .emoji__eyebrows:after, .emoji__eyes:before, .emoji__eyes:after, .emoji__mouth:before, .emoji__mouth:after, .emoji__tongue:before, .emoji__tongue:after, .emoji__heart:before, .emoji__heart:after, .emoji__hand:before, .emoji__hand:after, .emoji__thumb:before, .emoji__thumb:after {
position: absolute;
content: '';
} .emoji__face {
width: inherit;
height: inherit;
} .emoji--like {
background: #548DFF;
}
.emoji--like:after {
content: '';
}
.emoji--like .emoji__hand {
left: 25px;
bottom: 30px;
width: 20px;
height: 40px;
background: #FFFFFF;
border-radius: 5px;
z-index:;
-webkit-animation: hands-up 2s linear infinite;
animation: hands-up 2s linear infinite;
}
.emoji--like .emoji__hand:before {
left: 25px;
bottom: 5px;
width: 40px;
background: inherit;
height: 10px;
border-radius: 2px 10px 10px 2px;
box-shadow: 1px -9px 0 1px #FFFFFF, 2px -19px 0 2px #FFFFFF, 3px -29px 0 3px #FFFFFF;
}
.emoji--like .emoji__thumb {
border-bottom: 20px solid #FFFFFF;
border-left: 20px solid transparent;
top: -25px;
right: -25px;
z-index:;
-webkit-transform: rotate(5deg);
transform: rotate(5deg);
-webkit-transform-origin: 0% 100%;
transform-origin: 0% 100%;
-webkit-animation: thumbs-up 2s linear infinite;
animation: thumbs-up 2s linear infinite;
}
.emoji--like .emoji__thumb:before {
border-radius: 50% 50% 0 0;
background: #FFFFFF;
width: 10px;
height: 12px;
left: -10px;
top: -8px;
-webkit-transform: rotate(-15deg);
transform: rotate(-15deg);
-webkit-transform-origin: 100% 100%;
transform-origin: 100% 100%;
box-shadow: -1px 4px 0 -1px #FFFFFF;
} .emoji--love {
background: #F55064;
}
.emoji--love:after {
content: '';
}
.emoji--love .emoji__heart {
left: calc(50% - 40px);
top: calc(50% - 40px);
width: 80px;
height: 80px;
-webkit-animation: heart-beat 1s linear infinite alternate;
animation: heart-beat 1s linear infinite alternate;
}
.emoji--love .emoji__heart:before, .emoji--love .emoji__heart:after {
left: calc(50% - 20px);
top: calc(50% - 32px);
width: 40px;
height: 64px;
background: #FFFFFF;
border-radius: 20px 20px 0 0;
}
.emoji--love .emoji__heart:before {
-webkit-transform: translate(20px) rotate(-45deg);
transform: translate(20px) rotate(-45deg);
-webkit-transform-origin: 0 100%;
transform-origin: 0 100%;
}
.emoji--love .emoji__heart:after {
-webkit-transform: translate(-20px) rotate(45deg);
transform: translate(-20px) rotate(45deg);
-webkit-transform-origin: 100% 100%;
transform-origin: 100% 100%;
} .emoji--haha:after {
content: '';
}
.emoji--haha .emoji__face {
-webkit-animation: haha-face 2s linear infinite;
animation: haha-face 2s linear infinite;
}
.emoji--haha .emoji__eyes {
width: 26px;
height: 6px;
border-radius: 2px;
left: calc(50% - 13px);
top: 35px;
-webkit-transform: rotate(20deg);
transform: rotate(20deg);
background: transparent;
box-shadow: -25px 5px 0 0 #000000, 25px -5px 0 0 #000000;
}
.emoji--haha .emoji__eyes:after {
left:;
top:;
width: 26px;
height: 6px;
border-radius: 2px;
-webkit-transform: rotate(-40deg);
transform: rotate(-40deg);
background: transparent;
box-shadow: -25px -5px 0 0 #000000, 25px 5px 0 0 #000000;
}
.emoji--haha .emoji__mouth {
width: 80px;
height: 40px;
left: calc(50% - 40px);
top: 50%;
background: #000000;
border-radius: 0 0 40px 40px;
overflow: hidden;
z-index:;
-webkit-animation: haha-mouth 2s linear infinite;
animation: haha-mouth 2s linear infinite;
}
.emoji--haha .emoji__tongue {
width: 70px;
height: 30px;
background: #F55064;
left: calc(50% - 35px);
bottom: -10px;
border-radius: 50%;
} .emoji--yay:after {
content: '';
-webkit-animation: yay-reverse 1s linear infinite;
animation: yay-reverse 1s linear infinite;
}
.emoji--yay .emoji__face {
-webkit-animation: yay 1s linear infinite alternate;
animation: yay 1s linear infinite alternate;
}
.emoji--yay .emoji__eyebrows {
left: calc(50% - 3px);
top: 30px;
height: 6px;
width: 6px;
border-radius: 50%;
background: transparent;
box-shadow: -6px 0 0 0 #000000, -36px 0 0 0px #000000, 6px 0 0 0 #000000, 36px 0 0 0px #000000;
}
.emoji--yay .emoji__eyebrows:before, .emoji--yay .emoji__eyebrows:after {
width: 36px;
height: 18px;
border-radius: 60px 60px 0 0;
background: transparent;
border: 6px solid black;
box-sizing: border-box;
border-bottom:;
bottom: 3px;
left: calc(50% - 18px);
}
.emoji--yay .emoji__eyebrows:before {
margin-left: -21px;
}
.emoji--yay .emoji__eyebrows:after {
margin-left: 21px;
}
.emoji--yay .emoji__mouth {
top: 60px;
background: transparent;
left: 50%;
}
.emoji--yay .emoji__mouth:after {
width: 80px;
height: 80px;
left: calc(50% - 40px);
top: -75px;
border-radius: 50%;
background: transparent;
border: 6px solid #000000;
box-sizing: border-box;
border-top-color: transparent;
border-left-color: transparent;
border-right-color: transparent;
z-index:;
}
.emoji--yay .emoji__mouth:before {
width: 6px;
height: 6px;
background: transparent;
border-radius: 50%;
bottom: 5px;
left: calc(50% - 3px);
box-shadow: -25px 0 0 0 #000000, 25px 0 0 0 #000000, -35px -2px 30px 10px #D5234C, 35px -2px 30px 10px #D5234C;
} .emoji--wow:after {
content: '';
}
.emoji--wow .emoji__face {
-webkit-animation: wow-face 3s linear infinite;
animation: wow-face 3s linear infinite;
}
.emoji--wow .emoji__eyebrows {
left: calc(50% - 3px);
height: 6px;
width: 6px;
border-radius: 50%;
background: transparent;
box-shadow: -18px 0 0 0 #000000, -33px 0 0 0 #000000, 18px 0 0 0 #000000, 33px 0 0 0 #000000;
-webkit-animation: wow-brow 3s linear infinite;
animation: wow-brow 3s linear infinite;
}
.emoji--wow .emoji__eyebrows:before, .emoji--wow .emoji__eyebrows:after {
width: 24px;
height: 20px;
border: 6px solid #000000;
box-sizing: border-box;
border-radius: 50%;
border-bottom-color: transparent;
border-left-color: transparent;
border-right-color: transparent;
top: -3px;
left: calc(50% - 12px);
}
.emoji--wow .emoji__eyebrows:before {
margin-left: -25px;
}
.emoji--wow .emoji__eyebrows:after {
margin-left: 25px;
}
.emoji--wow .emoji__eyes {
width: 16px;
height: 24px;
left: calc(50% - 8px);
top: 35px;
border-radius: 50%;
background: transparent;
box-shadow: 25px 0 0 0 #000000, -25px 0 0 0 #000000;
}
.emoji--wow .emoji__mouth {
width: 30px;
height: 45px;
left: calc(50% - 15px);
top: 50%;
border-radius: 50%;
background: #000000;
-webkit-animation: wow-mouth 3s linear infinite;
animation: wow-mouth 3s linear infinite;
} .emoji--sad:after {
content: '';
}
.emoji--sad .emoji__face {
-webkit-animation: sad-face 2s ease-in infinite;
animation: sad-face 2s ease-in infinite;
}
.emoji--sad .emoji__eyebrows {
left: calc(50% - 3px);
top: 35px;
height: 6px;
width: 6px;
border-radius: 50%;
background: transparent;
box-shadow: -40px 9px 0 0 #000000, -25px 0 0 0 #000000, 25px 0 0 0 #000000, 40px 9px 0 0 #000000;
}
.emoji--sad .emoji__eyebrows:before, .emoji--sad .emoji__eyebrows:after {
width: 30px;
height: 20px;
border: 6px solid #000000;
box-sizing: border-box;
border-radius: 50%;
border-bottom-color: transparent;
border-left-color: transparent;
border-right-color: transparent;
top: 2px;
left: calc(50% - 15px);
}
.emoji--sad .emoji__eyebrows:before {
margin-left: -30px;
-webkit-transform: rotate(-30deg);
transform: rotate(-30deg);
}
.emoji--sad .emoji__eyebrows:after {
margin-left: 30px;
-webkit-transform: rotate(30deg);
transform: rotate(30deg);
}
.emoji--sad .emoji__eyes {
width: 14px;
height: 16px;
left: calc(50% - 7px);
top: 50px;
border-radius: 50%;
background: transparent;
box-shadow: 25px 0 0 0 #000000, -25px 0 0 0 #000000;
}
.emoji--sad .emoji__eyes:after {
background: #548DFF;
width: 12px;
height: 12px;
margin-left: 6px;
border-radius: 0 100% 40% 50% / 0 50% 40% 100%;
-webkit-transform-origin: 0% 0%;
transform-origin: 0% 0%;
-webkit-animation: tear-drop 2s ease-in infinite;
animation: tear-drop 2s ease-in infinite;
}
.emoji--sad .emoji__mouth {
width: 60px;
height: 80px;
left: calc(50% - 30px);
top: 80px;
box-sizing: border-box;
border: 6px solid #000000;
border-radius: 50%;
border-bottom-color: transparent;
border-left-color: transparent;
border-right-color: transparent;
background: transparent;
-webkit-animation: sad-mouth 2s ease-in infinite;
animation: sad-mouth 2s ease-in infinite;
}
.emoji--sad .emoji__mouth:after {
width: 6px;
height: 6px;
background: transparent;
border-radius: 50%;
top: 4px;
left: calc(50% - 3px);
box-shadow: -18px 0 0 0 #000000, 18px 0 0 0 #000000;
} .emoji--angry {
background: -webkit-linear-gradient(#D5234C -10%, #FFDA6A);
background: linear-gradient(#D5234C -10%, #FFDA6A);
background-size: 100%;
-webkit-animation: angry-color 2s ease-in infinite;
animation: angry-color 2s ease-in infinite;
}
.emoji--angry:after {
content: '';
}
.emoji--angry .emoji__face {
-webkit-animation: angry-face 2s ease-in infinite;
animation: angry-face 2s ease-in infinite;
}
.emoji--angry .emoji__eyebrows {
left: calc(50% - 3px);
top: 55px;
height: 6px;
width: 6px;
border-radius: 50%;
background: transparent;
box-shadow: -44px 5px 0 0 #000000, -7px 16px 0 0 #000000, 7px 16px 0 0 #000000, 44px 5px 0 0 #000000;
}
.emoji--angry .emoji__eyebrows:before, .emoji--angry .emoji__eyebrows:after {
width: 50px;
height: 20px;
border: 6px solid #000000;
box-sizing: border-box;
border-radius: 50%;
border-top-color: transparent;
border-left-color: transparent;
border-right-color: transparent;
top:;
left: calc(50% - 25px);
}
.emoji--angry .emoji__eyebrows:before {
margin-left: -25px;
-webkit-transform: rotate(15deg);
transform: rotate(15deg);
}
.emoji--angry .emoji__eyebrows:after {
margin-left: 25px;
-webkit-transform: rotate(-15deg);
transform: rotate(-15deg);
}
.emoji--angry .emoji__eyes {
width: 12px;
height: 12px;
left: calc(50% - 6px);
top: 70px;
border-radius: 50%;
background: transparent;
box-shadow: 25px 0 0 0 #000000, -25px 0 0 0 #000000;
}
.emoji--angry .emoji__mouth {
width: 36px;
height: 18px;
left: calc(50% - 18px);
bottom: 15px;
background: #000000;
border-radius: 50%;
-webkit-animation: angry-mouth 2s ease-in infinite;
animation: angry-mouth 2s ease-in infinite;
} @-webkit-keyframes heart-beat {
25% {
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
75% {
-webkit-transform: scale(0.6);
transform: scale(0.6);
}
} @keyframes heart-beat {
25% {
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
75% {
-webkit-transform: scale(0.6);
transform: scale(0.6);
}
}
@-webkit-keyframes haha-face {
10% {
-webkit-transform: translateY(25px);
transform: translateY(25px);
}
20% {
-webkit-transform: translateY(15px);
transform: translateY(15px);
}
30% {
-webkit-transform: translateY(25px);
transform: translateY(25px);
}
40% {
-webkit-transform: translateY(15px);
transform: translateY(15px);
}
50% {
-webkit-transform: translateY(25px);
transform: translateY(25px);
}
60% {
-webkit-transform: translateY(0);
transform: translateY(0);
}
70% {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
80% {
-webkit-transform: translateY(0);
transform: translateY(0);
}
90% {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
}
@keyframes haha-face {
10% {
-webkit-transform: translateY(25px);
transform: translateY(25px);
}
20% {
-webkit-transform: translateY(15px);
transform: translateY(15px);
}
30% {
-webkit-transform: translateY(25px);
transform: translateY(25px);
}
40% {
-webkit-transform: translateY(15px);
transform: translateY(15px);
}
50% {
-webkit-transform: translateY(25px);
transform: translateY(25px);
}
60% {
-webkit-transform: translateY(0);
transform: translateY(0);
}
70% {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
80% {
-webkit-transform: translateY(0);
transform: translateY(0);
}
90% {
-webkit-transform: translateY(-10px);
transform: translateY(-10px);
}
}
@-webkit-keyframes haha-mouth {
10% {
-webkit-transform: scale(0.6);
transform: scale(0.6);
top: 45%;
}
20% {
-webkit-transform: scale(0.8);
transform: scale(0.8);
top: 45%;
}
30% {
-webkit-transform: scale(0.6);
transform: scale(0.6);
top: 45%;
}
40% {
-webkit-transform: scale(0.8);
transform: scale(0.8);
top: 45%;
}
50% {
-webkit-transform: scale(0.6);
transform: scale(0.6);
top: 45%;
}
60% {
-webkit-transform: scale(1);
transform: scale(1);
top: 50%;
}
70% {
-webkit-transform: scale(1.2);
transform: scale(1.2);
top: 50%;
}
80% {
-webkit-transform: scale(1);
transform: scale(1);
top: 50%;
}
90% {
-webkit-transform: scale(1.1);
transform: scale(1.1);
top: 50%;
}
}
@keyframes haha-mouth {
10% {
-webkit-transform: scale(0.6);
transform: scale(0.6);
top: 45%;
}
20% {
-webkit-transform: scale(0.8);
transform: scale(0.8);
top: 45%;
}
30% {
-webkit-transform: scale(0.6);
transform: scale(0.6);
top: 45%;
}
40% {
-webkit-transform: scale(0.8);
transform: scale(0.8);
top: 45%;
}
50% {
-webkit-transform: scale(0.6);
transform: scale(0.6);
top: 45%;
}
60% {
-webkit-transform: scale(1);
transform: scale(1);
top: 50%;
}
70% {
-webkit-transform: scale(1.2);
transform: scale(1.2);
top: 50%;
}
80% {
-webkit-transform: scale(1);
transform: scale(1);
top: 50%;
}
90% {
-webkit-transform: scale(1.1);
transform: scale(1.1);
top: 50%;
}
}
@-webkit-keyframes yay {
25% {
-webkit-transform: rotate(-15deg);
transform: rotate(-15deg);
}
75% {
-webkit-transform: rotate(15deg);
transform: rotate(15deg);
}
}
@keyframes yay {
25% {
-webkit-transform: rotate(-15deg);
transform: rotate(-15deg);
}
75% {
-webkit-transform: rotate(15deg);
transform: rotate(15deg);
}
}
@-webkit-keyframes wow-face {
15%, 25% {
-webkit-transform: rotate(20deg) translateX(-25px);
transform: rotate(20deg) translateX(-25px);
}
45%, 65% {
-webkit-transform: rotate(-20deg) translateX(25px);
transform: rotate(-20deg) translateX(25px);
}
75%, 100% {
-webkit-transform: rotate(0deg) translateX(0);
transform: rotate(0deg) translateX(0);
}
}
@keyframes wow-face {
15%, 25% {
-webkit-transform: rotate(20deg) translateX(-25px);
transform: rotate(20deg) translateX(-25px);
}
45%, 65% {
-webkit-transform: rotate(-20deg) translateX(25px);
transform: rotate(-20deg) translateX(25px);
}
75%, 100% {
-webkit-transform: rotate(0deg) translateX(0);
transform: rotate(0deg) translateX(0);
}
}
@-webkit-keyframes wow-brow {
15%, 65% {
top: 25px;
}
75%, 100%, 0% {
top: 15px;
}
}
@keyframes wow-brow {
15%, 65% {
top: 25px;
}
75%, 100%, 0% {
top: 15px;
}
}
@-webkit-keyframes wow-mouth {
10%, 30% {
width: 20px;
height: 20px;
left: calc(50% - 10px);
}
50%, 70% {
width: 30px;
height: 40px;
left: calc(50% - 15px);
}
75%, 100% {
height: 50px;
}
}
@keyframes wow-mouth {
10%, 30% {
width: 20px;
height: 20px;
left: calc(50% - 10px);
}
50%, 70% {
width: 30px;
height: 40px;
left: calc(50% - 15px);
}
75%, 100% {
height: 50px;
}
}
@-webkit-keyframes sad-face {
25%, 35% {
top: -15px;
}
55%, 95% {
top: 10px;
}
100%, 0% {
top:;
}
}
@keyframes sad-face {
25%, 35% {
top: -15px;
}
55%, 95% {
top: 10px;
}
100%, 0% {
top:;
}
}
@-webkit-keyframes sad-mouth {
25%, 35% {
-webkit-transform: scale(0.85);
transform: scale(0.85);
top: 70px;
}
55%, 100%, 0% {
-webkit-transform: scale(1);
transform: scale(1);
top: 80px;
}
}
@keyframes sad-mouth {
25%, 35% {
-webkit-transform: scale(0.85);
transform: scale(0.85);
top: 70px;
}
55%, 100%, 0% {
-webkit-transform: scale(1);
transform: scale(1);
top: 80px;
}
}
@-webkit-keyframes tear-drop {
0%, 100% {
display: block;
left: 35px;
top: 15px;
-webkit-transform: rotate(45deg) scale(0);
transform: rotate(45deg) scale(0);
}
25% {
display: block;
left: 35px;
-webkit-transform: rotate(45deg) scale(2);
transform: rotate(45deg) scale(2);
}
49.9% {
display: block;
left: 35px;
top: 65px;
-webkit-transform: rotate(45deg) scale(0);
transform: rotate(45deg) scale(0);
}
50% {
display: block;
left: -35px;
top: 15px;
-webkit-transform: rotate(45deg) scale(0);
transform: rotate(45deg) scale(0);
}
75% {
display: block;
left: -35px;
-webkit-transform: rotate(45deg) scale(2);
transform: rotate(45deg) scale(2);
}
99.9% {
display: block;
left: -35px;
top: 65px;
-webkit-transform: rotate(45deg) scale(0);
transform: rotate(45deg) scale(0);
}
}
@keyframes tear-drop {
0%, 100% {
display: block;
left: 35px;
top: 15px;
-webkit-transform: rotate(45deg) scale(0);
transform: rotate(45deg) scale(0);
}
25% {
display: block;
left: 35px;
-webkit-transform: rotate(45deg) scale(2);
transform: rotate(45deg) scale(2);
}
49.9% {
display: block;
left: 35px;
top: 65px;
-webkit-transform: rotate(45deg) scale(0);
transform: rotate(45deg) scale(0);
}
50% {
display: block;
left: -35px;
top: 15px;
-webkit-transform: rotate(45deg) scale(0);
transform: rotate(45deg) scale(0);
}
75% {
display: block;
left: -35px;
-webkit-transform: rotate(45deg) scale(2);
transform: rotate(45deg) scale(2);
}
99.9% {
display: block;
left: -35px;
top: 65px;
-webkit-transform: rotate(45deg) scale(0);
transform: rotate(45deg) scale(0);
}
}
@-webkit-keyframes hands-up {
25% {
-webkit-transform: rotate(15deg);
transform: rotate(15deg);
}
50% {
-webkit-transform: rotate(-15deg) translateY(-10px);
transform: rotate(-15deg) translateY(-10px);
}
75%, 100% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
}
@keyframes hands-up {
25% {
-webkit-transform: rotate(15deg);
transform: rotate(15deg);
}
50% {
-webkit-transform: rotate(-15deg) translateY(-10px);
transform: rotate(-15deg) translateY(-10px);
}
75%, 100% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
}
@-webkit-keyframes thumbs-up {
25% {
-webkit-transform: rotate(20deg);
transform: rotate(20deg);
}
50%, 100% {
-webkit-transform: rotate(5deg);
transform: rotate(5deg);
}
}
@keyframes thumbs-up {
25% {
-webkit-transform: rotate(20deg);
transform: rotate(20deg);
}
50%, 100% {
-webkit-transform: rotate(5deg);
transform: rotate(5deg);
}
}
@-webkit-keyframes angry-color {
45%, 60% {
background-size: 250%;
}
85%, 100%, 0% {
background-size: 100%;
}
}
@keyframes angry-color {
45%, 60% {
background-size: 250%;
}
85%, 100%, 0% {
background-size: 100%;
}
}
@-webkit-keyframes angry-face {
35%, 60% {
-webkit-transform: translateX(0) translateY(10px) scale(0.9);
transform: translateX(0) translateY(10px) scale(0.9);
}
40% {
-webkit-transform: translateX(-5px) translateY(10px) scale(0.9);
transform: translateX(-5px) translateY(10px) scale(0.9);
}
45% {
-webkit-transform: translateX(5px) translateY(10px) scale(0.9);
transform: translateX(5px) translateY(10px) scale(0.9);
}
50% {
-webkit-transform: translateX(-5px) translateY(10px) scale(0.9);
transform: translateX(-5px) translateY(10px) scale(0.9);
}
55% {
-webkit-transform: translateX(5px) translateY(10px) scale(0.9);
transform: translateX(5px) translateY(10px) scale(0.9);
}
}
@keyframes angry-face {
35%, 60% {
-webkit-transform: translateX(0) translateY(10px) scale(0.9);
transform: translateX(0) translateY(10px) scale(0.9);
}
40% {
-webkit-transform: translateX(-5px) translateY(10px) scale(0.9);
transform: translateX(-5px) translateY(10px) scale(0.9);
}
45% {
-webkit-transform: translateX(5px) translateY(10px) scale(0.9);
transform: translateX(5px) translateY(10px) scale(0.9);
}
50% {
-webkit-transform: translateX(-5px) translateY(10px) scale(0.9);
transform: translateX(-5px) translateY(10px) scale(0.9);
}
55% {
-webkit-transform: translateX(5px) translateY(10px) scale(0.9);
transform: translateX(5px) translateY(10px) scale(0.9);
}
}
@-webkit-keyframes angry-mouth {
25%, 50% {
height: 6px;
bottom: 25px;
}
}
@keyframes angry-mouth {
25%, 50% {
height: 6px;
bottom: 25px;
}
}

各位,写出个本地html来试试吧使用纯css3写出来的表情包 (^v^)

随机推荐

  1. Android Studio 2&period;2新功能预览

    升级SDK可用Background 多加了个按钮,可用一边写代码一边下载SDK Instant Run 修改代码一秒启动 APK analyzer 分析任何的APK 查看APK下载包的大小,解压后的实 ...

  2. Ruby安装

    Windows下安装ruby 先安装ruby吧 点击安装,额,咳咳什么情况,好了 人是有国籍的,但知识无国界的 是这个意思吧,选择安装语言   选择安装目录 顺便勾选上添加到环境变量吧   安装完成 ...

  3. jenkins忘记管理密码处理方式

    进入/var/lib/jenkins/  用vim编辑 config.xml文件 找到useSecurity部分 将true改成false      并且删除下面的 授权部分 保存推出 3.从新进入 ...

  4. BZOJ3772&colon; 精神污染

    Description 兵库县位于日本列岛的*位置,北临日本海,南面濑户内海直通太平洋,*部位是森林和山地,与拥有关西机场的大阪府比邻而居,是关西地区面积最大的县,是集经济和文化于一体的一大地区, ...

  5. bnuoj 25659 A Famous City &lpar;单调栈&rpar;

    http://www.bnuoj.com/bnuoj/problem_show.php?pid=25659 #include <iostream> #include <stdio.h ...

  6. extjs 6&period;2 helloworld

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...

  7. pymysql 模块介绍

    pymysql模块是python与mysql进行交互的一个模块. pymysql模块的安装: pymysql模块的用法: import pymysql user=input('user>> ...

  8. P1339 &lbrack;USACO09OCT&rsqb;热浪Heat Wave

    我太lj了,所以趁着夜色刷了道最短路的水题....然后,,我炸了. 题目描述: The good folks in Texas are having a heatwave this summer. T ...

  9. 网络流Dinic(本篇介绍最大流)

    前言:看到网上Dinic和ISAP的比较,多数人认为ISAP更快,不容易爆栈.当然,也有少数人认为,在多数情况下,Dinic比较稳定.我认为Dinic的思路比ISAP更简明,所以选择了Dinc算法 介 ...

  10. 调用jdbc已经写成的方法----jdbc工具类抽取方式二

    先创建db.properties driver=com.mysql.jdbc.Driver url=jdbc:mysql://localhost:3306/web08?useUnicode=true& ...

上一篇:SVM学习笔记3-问题转化


下一篇:DialogFragment 监听按键事件的方法(onkeydown)