html怎么实现圆点,css实现步骤条如何让两边的圆点样式不一样

bVbpC7U?w=475&h=78

两个进度条 如何让前后两个圆点样式不一样

例如这样

bVbpC75?w=256&h=32

ul {

margin: 0;

padding: 0;

}

li {

list-style: none;

}

.pub-wrap {

position: relative;

padding: 0 30px 10px;

margin-top: 28px;

border-radius: 6px;

}

.pub-process {

position: relative;

height: 10px;

margin-top: 28px;

margin-left: 10px;

font-size: 0;

color: #fff;

}

.pub-process:after {

position: absolute;

top: 50%;

left: 0;

z-index: 1;

width: 99%;

height: 4px;

content: "";

-webkit-transform: translate(0, -50%);

transform: translate(0, -50%);

background-color: #d9d9d9;

}

.pub-process li {

position: relative;

z-index: 5;

display: inline-block;

width: 25%;

height: 35px;

font-size: .875rem;

}

.pub-process li:first-child {

width: 35px;

margin-left: -35px;

}

.pub-process .ball {

position: absolute;

top: 0;

right: 0;

z-index: 7;

width: 10px;

height: 10px;

line-height: 10px;

content: "";

text-align: center;

border-radius: 50%;

background-color: #d9d9d9;

}

.pub-process .active .ball {

background-color: #1890ff;

}

.pub-process .active+.active:after {

position: absolute;

top: 15%;

left: 0;

z-index: 6;

width: 100%;

height: 4px;

content: "";

-webkit-transform: translate(0, -50%);

transform: translate(0, -50%);

background-color:#1890ff;

}

.process-3 li {

width: 50%;

}

.process-5 li {

width: 25%;

}

/* flex ver */

.pub-process-flex {

display: -webkit-box;

}

.pub-process-flex li {

display: list-item;

-webkit-box-flex: 1;

width: auto;

}

.pub-process-flex li:first-child {

width: 35px;

margin-left: -35px;

-webkit-box-flex: 0;

}

.active {

height: auto;

position: relative;

}

.text {

position: absolute;

color: #000;

top: 40px;

right: -34px;

width: 100px;

text-align: center;

}

  • 任务审核
  • 备航准备
  • 外业
  • 内业
  • 内业分析
  • 归档
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值