jquery css实现流程进度条实现流程进度条
主要为大家详细介绍了jquery css实现流程进度条,文中示例代码介绍的非常详细,具有一定的参考价值,感兴趣的小伙
伴们可以参考一下
本文实例为大家分享了jquery css实现流程进度条的具体代码,供大家参考,具体内容如下
方案1:
方案2:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>流程进度条</title>
<style type="text/css">
.div_home{
width: 100%;
height: 720px;
background: pink;
}
.div_button{
width: 100%;
background: rgba(249, 214, 81, 1);
text-align: center;
}
:root {
--progress_div-height: 100px;
--progress_div-width: 100%;
--progress_div-background: rgba(204,232,207,1);
--progress_line-top: 50px;
--progress_line-height: 4px;
--progress_node-height: 20px;
--progress_node-width: 20px;
--progress_node-top: -8px;
--progress_node-lineHeight: 20px;
--progress_text-heigth: 20px;
--progress_text-width: 120px;
--progress_text-top: -30px;
--progress_color-yes: rgba(40 ,200 ,252 ,1);
--progress_color-no: rgba(213 ,213 ,213 ,1);
}
.progress_div{
height: var(--progress_div-height);
width: var(--progress_div-width);
background: var(--progress_div-background);