css实现程序员日快乐动画效果
代码语言:html
所属分类:动画
代码描述:css实现程序员日快乐动画效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
@import url("https://fonts.googleapis.com/css?family=Amatic+SC");
.footer {
bottom: 0;
color: white;
top: 35rem;
font-size: 2rem;
}
.footer .title {
font-family: 'Amatic SC';
text-align: center;
}
.footer .mod {
color: #dc8e3e;
}
.footer .sub {
display: flex;
justify-content: space-around;
font-size: 1rem;
font-family: 'Amatic SC';
}
.footer .sub a {
color: pink;
text-decoration: none;
}
.footer .sub a:hover {
color: white;
}
body {
width: 99%;
height: 36rem;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #222;
}
.container {
display: flex;
justify-content: center;
align-items: center;
margin: auto;
top: 0;
bottom: 0;
width: 26rem;
border-radius: 26rem;
overflow: hidden;
height: 26rem;
position: relative;
}
.objects_computer {
position: absolute;
width: 7rem;
height: 5.5rem;
background: #bfbfbf;
left: 3.8rem;
top: 14.8rem;
transform: skew(17deg, 0deg);
border-radius: 0.6rem 0.6rem 0 0;
box-shadow: inset -6px 1px darkgrey;
}
.objects_computer:after {
content: '';
position: a.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0