代码拉取完成,页面将自动刷新
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #5d8fda;
margin: 1em;
box-sizing: border-box;
padding: 0;
}
.steps,
.boxs {
width: 1000px;
position: relative;
}
.steps {
display: flex;
box-sizing: border-box;
}
.step {
background: #ddd;
width: 80px;
height: 80px;
margin: 0 2rem;
border: none;
box-shadow: 1px 4px 10px #fefefe;
position: relative;
display: flex;
justify-content: center;
align-items: center;
color: #333;
font-weight: 700;
font-size: 2rem;
transition: all 1s ease-in-out;
}
.step::before {
width: 4rem;
height: 20px;
background: #ddd;
display: inline-block;
content: '';
left: -4rem;
position: absolute;
transition: all 3s ease-in-out;
border: none;
}
.steps>.step:first-child::before {
display: none;
}
.boxs {
height: 500px;
margin-top: 2em;
position: relative;
}
.box {
position: absolute;
margin: 0 2rem;
top: 0rem;
left: 0;
width: 100px;
height: 100px;
background-color: rgb(231, 210, 16);
display: flex;
justify-content: center;
align-items: center;
font-size: 4rem;
box-sizing: border-box;
transition: all 1s ease-in-out;
border-radius: 50%;
}
.active {
background-color: yellow;
}
.active::before{
background: yellow;
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。