div+css实现搅拌锅动画效果代码
代码语言:html
所属分类:动画
代码描述:div+css实现搅拌锅动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
* {
padding: 0;
margin: 0;
}
.canva {
background: beige;
height: 100vh;
width: 100vw;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.container {
display: flex;
flex-direction: column;
align-items: center;
position: relative;
box-sizing: border-box;
}
.cauldronBody {
position: absolute;
top: 0px;
width: 75px;
height: 70px;
background: dimgrey;
border-radius: 50px;
}
.cauldronLid {
position: relative;
top: -5px;
width: 70px;
height: 35px;
border-radius: 50%;
border: solid beige 1px;
background-color: dimgrey;
display: flex;
justify-content: center;
}
.outerLid {
position: absolute;
border: solid .........完整代码请登录后点击上方下载按钮下载查看
网友评论0