문제

여기에 이미지 설명

는 Doc의 아무 것도 찾을 수 없었지만 아마도 누군가가 더 잘 알고 있거나 사용 가능한 속성을 함께 사용하는 작업을 함께 제안 할 수 있습니까?

부트 스트랩이 아닌 경우 CSS / JQuery / JS를 생성 할 수있는 GEM (Rails) 또는 생성기를 알고 있습니까?

도움이 되었습니까?

해결책

GitHub 에서이 부트 스트랩 3 NAV 마법사 버전을 시도 할 수도 있고 파일이 적은 파일이 포함됩니다.

https://github.com/acornejo/bootstrap-nav-wizard

데모 여기 : http://acornejo.github.io/bootstrap-nav-wizard/

미리보기 (OROR) :

부트 스트랩 3 nav 마법사 미리보기 1

미리보기 (사용자 정의) :

부트 스트랩 3 nav 마법사 미리보기 2

다른 팁

어쩌면 당신은 이것을 찾고 있습니다.아래 데모를 확인하십시오.아래 이미지처럼 보이지 않으면 창 크기를 조정하십시오.

바이올린

Enter여기에 이미지 설명

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>
.

CSS 또는 scss 대신에 강력한>

.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;
}
.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top