FlowerBombs

nav.html 본문

Javascript & JQuery&Ajax/bootstrap

nav.html

CitronLemon 2019. 2. 25. 12:04

nav. html


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    <div class="container">
        <div class="page-header">
            <h1>bs3-tabs</h1>
        </div>
 
        <div role="tabpanel">
            <!-- Nav tabs -->
            <!-- 
                .nav-tabs 대신 .nav-pills를 적용하면 탭이 버튼형태로 변경됨
                .nav-justified 적용 여부에 따라 화면을 가득 채울지 결정됨-->
            <ul class="nav nav-tabs" nav-justified role="tablist">
                <li class="active">
                    <a href="#home" data-toggle="tab">home</a>
                </li>
                <li>
                    <a href="#tab" data-toggle="tab">tab</a>
                </li>
            </ul>
        
            <!-- Tab panes -->
            <div class="tab-content">
                <!-- 화면 전환시 fade 효과를 부여할 경우 
                    1) 첫 화면은 fain, in 클래스 적용
                    2) 나머지 화면은 fade 클래스만 적용 -->
                <div class="tab-pane fade in active" id="home">Hello Bootstrap</div>
                <div class="tab-pane fade" id="tab">안녕 부트스트랩</div>
            </div>
        </div>
        
    </div>
cs


<결과물>






'Javascript & JQuery&Ajax > bootstrap' 카테고리의 다른 글

navbar1.html  (0) 2019.02.25
pagination.html  (0) 2019.02.25
input-group.html  (0) 2019.02.25
button-group2,html  (0) 2019.02.25
icon.html  (0) 2019.02.22
Comments