1)实现效果
2)尝试文字渐隐解决办法
background-image:-webkit-linear-gradient(bottom,rgba(255,255,255,1),rgba(255,255,255,0));
-webkit-background-clip:text; //用文本剪辑背景
-webkit-text-fill-color:transparent;
但是这样,会造成滚动条移动,文字不动
3)最终解决办法
在加一个div盒子,定位在流程图最下方,设置背景颜色渐变透明
.step-over { //新增盒子样式设置
position: absolute;
bottom: 0;
height: 50px;
width: 90%;
background: linear-gradient( to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)
);
}
补充,流程图的实现方式,没有找到element中流程图样式更改方法,复制element流程图的dom+css实现的