css实现煎蛋情人节表白动画效果代码
代码语言:html
所属分类:表白
代码描述:css实现煎蛋情人节表白动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
@import url("https://fonts.googleapis.com/css?family=Josefin+Sans:300");
body {
background: #48befe;
font-family: 'Josefin Sans', sans-serif;
font-size: 12px;
}
.container {
position: absolute;
white-space: nowrap;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
}
ul {
margin: 0;
padding: 0;
}
ul li {
list-style: none;
}
.egg {
width: 175px;
height: 220px;
border-radius: 100px 100px 0px 0px;
background: #fdfeff;
position: relative;
display: inline-block;
animation: floating 5s ease-out infinite;
left: -5%;
}
.egg .face {
width: 130px;
height: 130px;
background: #ffdb10;
position: absolute;
margin: 15% 15%;
border-radius: 100%;
box-shadow: inset -10px 1px 0 #ffcc24;
}
.egg .face .eyes {
width: 15px;
height: 15px;
background: #000;.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0