부트스트랩 버튼그룹

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