"부트스트랩 버튼그룹"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
(사용자 2명의 중간 판 7개는 보이지 않습니다)
1번째 줄: 1번째 줄:
==개요==
==개요==
;Bootstrap Button group
;부트스트랩 .btn-group
;부트스트랩 버튼그룹
;부트스트랩 버튼그룹


<source lang='html5'>
==예시 1: button 태그==
<syntaxhighlight lang='html5'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css">
<script src="//code.jquery.com/jquery.min.js"></script>
<script src="//code.jquery.com/jquery.min.js"></script>
8번째 줄: 11번째 줄:
      
      
<div class="btn-group" role="group">
<div class="btn-group" role="group">
   <button type="button" class="btn btn-default">버튼1</button>
   <button class="btn btn-default">버튼1</button>
   <button type="button" class="btn btn-default">버튼2</button>
   <button class="btn btn-default">버튼2</button>
   <button type="button" class="btn btn-default">버튼3</button>
   <button class="btn btn-default">버튼3</button>
</div>
</div>
</source>
</syntaxhighlight>
<jsfiddle>nnge932d</jsfiddle>
<jsfiddle>nnge932d</jsfiddle>
==예시2: a 태그==
<syntaxhighlight lang='html5'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css">
<script src="//code.jquery.com/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/latest/js/bootstrap.min.js"></script>
   
<div class="btn-group" role="group">
  <a class="btn btn-default" href="#1">버튼1</a>
  <a class="btn btn-default" href="#2">버튼2</a>
  <a class="btn btn-default" href="#3">버튼3</a>
</div>
</syntaxhighlight>
<jsfiddle>hhem41wv</jsfiddle>
==같이 보기==
==같이 보기==
*[[부트스트랩 버튼툴바]]
*[[부트스트랩 버튼]]
*[[부트스트랩 버튼]]
*[[jQuery UI 버튼셋]]
*[[jQuery UI 버튼셋]]
*[[버튼그룹]]
*[[버튼그룹]]
==참고==
*http://v4-alpha.getbootstrap.com/components/button-group/
*http://www.w3schools.com/bootstrap/bootstrap_button_groups.asp


[[분류: Bootstrap]]
[[분류: Bootstrap]]
[[분류: 버튼]]

2020년 11월 2일 (월) 02:52 기준 최신판

1 개요[ | ]

Bootstrap Button group
부트스트랩 .btn-group
부트스트랩 버튼그룹

2 예시 1: button 태그[ | ]

<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css">
<script src="//code.jquery.com/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/latest/js/bootstrap.min.js"></script>
    
<div class="btn-group" role="group">
  <button class="btn btn-default">버튼1</button>
  <button class="btn btn-default">버튼2</button>
  <button class="btn btn-default">버튼3</button>
</div>

3 예시2: a 태그[ | ]

<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/latest/css/bootstrap.min.css">
<script src="//code.jquery.com/jquery.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/latest/js/bootstrap.min.js"></script>
    
<div class="btn-group" role="group">
  <a class="btn btn-default" href="#1">버튼1</a>
  <a class="btn btn-default" href="#2">버튼2</a>
  <a class="btn btn-default" href="#3">버튼3</a>
</div>

4 같이 보기[ | ]

5 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}