Jquery ui Bootstrap 3是否有表单的预构建步骤选项?
在文档中找不到任何内容,但可能有人知道得更好,或者可以建议使用可用属性将其组合起来Jquery ui Bootstrap 3是否有表单的预构建步骤选项?,jquery-ui,css,twitter-bootstrap-3,Jquery Ui,Css,Twitter Bootstrap 3,在文档中找不到任何内容,但可能有人知道得更好,或者可以建议使用可用属性将其组合起来 如果不是在bootstrap中,有人知道可以创建CSS/jQuery/JS的gem(rails)或生成器吗 也许你在找这个。查看下面的演示。只要调整窗口大小,如果它看起来不像下图 HTML <h3>Wizard</h3> <div class="wizard"> <a><span class="badge"&g
如果不是在bootstrap中,有人知道可以创建CSS/jQuery/JS的gem(rails)或生成器吗 也许你在找这个。查看下面的演示。只要调整窗口大小,如果它看起来不像下图 HTML
<h3>Wizard</h3>
<div class="wizard">
<a><span class="badge">1</span> Set Global Properties</a>
<a><span class="badge">2</span> Specify Entry Scheme</a>
<a class="current"><span class="badge badge-inverse">3</span> Create Test Entry</a>
<a><span class="badge">4</span> Check Your Data and Generate Portal</a>
</div>
您也可以在GitHub上尝试此引导3导航向导版本,包含的文件较少:
.wizard a {
padding: 10px 12px 10px;
margin-right: 5px;
background: #efefef;
position: relative;
display: inline-block;
}
.wizard a:before {
width: 0;
height: 0;
border-top: 20px inset transparent;
border-bottom: 20px inset transparent;
border-left: 20px solid #fff;
position: absolute;
content: "";
top: 0;
left: 0;
}
.wizard a:after {
width: 0;
height: 0;
border-top: 20px inset transparent;
border-bottom: 20px inset transparent;
border-left: 20px solid #efefef;
position: absolute;
content: "";
top: 0;
right: -20px;
z-index: 2;
}
.wizard a:first-child:before,
.wizard a:last-child:after {
border: none;
}
.wizard a:first-child {
-webkit-border-radius: 4px 0 0 4px;
-moz-border-radius: 4px 0 0 4px;
border-radius: 4px 0 0 4px;
}
.wizard a:last-child {
-webkit-border-radius: 0 4px 4px 0;
-moz-border-radius: 0 4px 4px 0;
border-radius: 0 4px 4px 0;
}
.wizard .badge {
margin: 0 5px 0 18px;
position: relative;
top: -1px;
}
.wizard a:first-child .badge {
margin-left: 0;
}
.wizard .current {
background: #007ACC;
color: #fff;
}
.wizard .current:after {
border-left-color: #007ACC;
}
此处演示:
预览(原版):
预览(自定义):
听起来您正在寻找一个与引导集成的向导。我知道的一个例子是,但我相信你可以通过谷歌快速搜索找到更多。你能告诉我你是如何删除白色分隔线的吗?或者,更具体地说,我如何使它们更薄?@DainisAbols:remove margin on“.nav wizard>li:not(:last child)>a”