TweenMax实现简洁多层交互式进度条效果代码
代码语言:html
所属分类:进度条
代码描述:TweenMax实现简洁多层交互式进度条效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<html>
<head>
<style>
body {
background: #E8DFD9;
}
.squares {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.boxes {
position: fixed;
top: 50%;
left: 50%;
width: 90%;
max-width: 790px;
height: 180px;
font-family: "Open Sans", sans-serif;
transform: translate(-50%, -50%);
}
.box {
position: relative;
display: flex;
align-items: center;
flex-direction: row;
background: #FFF;
width: 100%;
height: 100%;
border-radius: 20px;
box-shadow: 40px 0 65px rgba(212, 197, 186, 0.4);
padding: 0 80px;
box-sizing: border-box;
opacity: 0;
transform-origin: center;
transform: scale(1.2, 1.2);
}
.box:nth-child(1), .box:nth-child(2) {
position: absolute;
}
.box:nth-child(1) {
left: 3%;
width: 94%;
}
.box:nth-child(2) {
left: 2%;
width: 96%;
}
.progress {
position: relative;
display: flex;
flex-direction: row;
justify-content: space-between;
wid.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0