以垂直格式处理步骤(向导)



想要实现一个非常像这样的流程步骤向导-水平格式中的处理步骤

但在垂直格式!有人能帮助修改CSS,使其像左侧边栏一样垂直堆叠吗。或者建议一些插件来实现同样的效果。

我修改了CSS,希望你能这样想。你可以在这里看到工作示例。

body {
  margin: 40px;
}
.stepwizard-step p {
  margin-top: 10px;
  display: inline-block;
}
.stepwizard-row {
  display: table-row;
}
.stepwizard {
  display: table;
  width: 20%;
  position: relative;
}
.stepwizard-step button[disabled] {
  opacity: 1 !important;
  filter: alpha(opacity=100) !important;
}
.stepwizard-row:before {
  left: 14px;
  bottom: 0;
  position: absolute;
  content: " ";
  width: 1px;
  height: 100%;
  background-color: #ccc;
  z-order: 0;
}
.stepwizard-step {
  display: block;
  position: relative;
}
.btn-circle {
  width: 30px;
  height: 30px;
  text-align: center;
  padding: 6px 0;
  font-size: 12px;
  line-height: 1.428571429;
  border-radius: 15px;
}

最新更新