부트스트랩 2단 분할

Bootstrap 2 columns
부트스트랩 2단 분할

1 예시[ | ]

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<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>

<style>
.row>div { text-align: center; border: 1px solid gray; }
.row>div:nth-child(odd) { background: orange; }
.row>div:nth-child(even) { background: yellow; }
</style>

<div class='row'>
  <div class='col-sm-6'>너비6</div>
  <div class='col-sm-6'>너비6</div>
</div>

<div class='row'>
  <div class='col-sm-2'>너비2</div>
  <div class='col-sm-10'>너비10</div>
</div>

<div class='row'>
  <div class='col-sm-4'>너비4</div>
  <div class='col-sm-8'>너비8</div>
</div>

<div class='row'>
  <div class='col-sm-11'>너비11</div>
  <div class='col-sm-1'>너비1</div>
</div>

2 같이 보기[ | ]

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