html横向类时间轴的任务流写法

<!--HTML代码--/>

	



<!DOCTYPE html>  <!--说明一下代码全部是html-->
<html>           <!---->
    <head>
        <title>软测三期</title>
    </head>
    <body>
	  <div class="container">
        <div style="display:flex;">
            <div style="flex:1;display:flex">
                <div style="flex:1"></div>
                <div class="dot"></div>
                <div class="item"></div>
            </div>
            <div style="flex:1;display:flex">
                <div class="item"></div>
                <div class="dot"></div>
                <div class="item"></div>
            </div>
            <div style="flex:1;display:flex">
                <div class="item"></div>
                <div class="dot"></div>
                <div class="item"></div>
            </div>
            <div style="flex:1;display:flex">
                <div class="item"></div>
                <div class="dot"></div>
                <div class="item"></div>
            </div>
			<div style="flex:1;display:flex">
                <div class="item"></div>
                <div class="dot"></div>
                <div style="flex:1;"></div>
            </div>
        </div>
		<div style="display:flex;margin-top:10px;">
            <div style="flex:1;display:flex">
                <div style="flex:1"></div>
                <div class="">步骤1</div>
                <div class="item1"></div>
            </div>
            <div style="flex:1;display:flex">
                <div class="item1"></div>
                <div class="">步骤244发到付1</div>
                <div class="item1"></div>
            </div>
            <div style="flex:1;display:flex">
                <div class="item1"></div>
                <div class="">步骤3打发打发</div>
                <div class="item1"></div>
            </div>
            <div style="flex:1;display:flex">
                <div class="item1"></div>
                <div class="">步骤4dfdasd</div>
                <div style="flex:1;"></div>
            </div>
			<div style="flex:1;display:flex">
                <div class="item1"></div>
                <div class="">步骤5sdasdw</div>
                <div style="flex:1;"></div>
            </div>
        </div>
	  </div>
	<style>
        .container{
            width: 1000px;
            height: 50px;
            border:0px solid red;
        }
        .dot{
            border:1px solid #007Aff;
            width: 11px;
            height: 11px;
            border-radius: 10px;
            background: white;
            margin: auto;
            margin-bottom: -6px;
        }
        .item{
            flex:1;
            border-bottom:1px solid #cdcdcd;
        }
		.item1{
            flex:1;
            border-bottom:0px solid #cdcdcd;
        }
    </style>
    </body>
</html>

  

效果

 

 

相关文章

vue阻止冒泡事件 阻止点击事件的执行 &lt;div @click=&a...
尝试过使用网友说的API接口获取 找到的都是失效了 暂时就使用...
后台我拿的数据是这样的格式: [ {id:1 , parentId: 0, name:...
JAVA下载文件防重复点击,防止多次下载请求,Cookie方式快速简...
Mip是什么意思以及作用有哪些