3 개의 동일한 열
3 개의 동일한 열
<div class="row">
<div class="col-sm-4">.col-sm-4</div>
<div class="col-sm-4">.col-sm-4</div>
<div class="col-sm-4">.col-sm-4</div>
</div>
다음 예제는 태블릿에서 시작하여 대형 데스크톱으로 확장하는 세 개의 등 너비 열을 얻는 방법을 보여줍니다. 휴대 전화에서는 열이 자동으로 스택됩니다.
[전체소스]
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container-fluid">
<h1>Hello World!</h1>
<p>Resize the browser window to see the effect.</p>
<div class="row">
<div class="col-sm-4" style="background-color:lavender;">.col-sm-4</div>
<div class="col-sm-4" style="background-color:lavenderblush;">.col-sm-4</div>
<div class="col-sm-4" style="background-color:lavender;">.col-sm-4</div>
</div>
</div>
</body>
</html>
<div class="row">
<div class="col-sm-4">.col-sm-4</div>
<div class="col-sm-4">.col-sm-4</div>
<div class="col-sm-4">.col-sm-4</div>
</div>
다음 예제는 태블릿에서 시작하여 대형 데스크톱으로 확장하는 세 개의 등 너비 열을 얻는 방법을 보여줍니다. 휴대 전화에서는 열이 자동으로 스택됩니다.
[전체소스]
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container-fluid">
<h1>Hello World!</h1>
<p>Resize the browser window to see the effect.</p>
<div class="row">
<div class="col-sm-4" style="background-color:lavender;">.col-sm-4</div>
<div class="col-sm-4" style="background-color:lavenderblush;">.col-sm-4</div>
<div class="col-sm-4" style="background-color:lavender;">.col-sm-4</div>
</div>
</div>
</body>
</html>
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 118 | jQuery Mobile | 8년 전 | 1347 | ||
| 117 | jQuery Mobile | 8년 전 | 1595 | ||
| 116 | jQuery Mobile | 8년 전 | 1825 | ||
| 115 | jQuery Mobile | 8년 전 | 1780 | ||
| 114 | jQuery Mobile | 8년 전 | 1970 | ||
| 113 | jQuery Mobile | 8년 전 | 1879 | ||
| 112 | jQuery Mobile | 8년 전 | 2486 | ||
| 111 | jQuery Mobile | 8년 전 | 1793 | ||
| 110 | jQuery Mobile | 8년 전 | 1584 | ||
| 109 | jQuery Mobile | 8년 전 | 1745 | ||
| 108 | jQuery Mobile | 8년 전 | 1969 | ||
| 107 | jQuery Mobile | 8년 전 | 1772 | ||
| 106 | jQuery Mobile | 8년 전 | 1450 | ||
| 105 | jQuery Mobile | 8년 전 | 1748 | ||
| 104 | jQuery Mobile | 8년 전 | 2424 | ||
| 103 | jQuery Mobile | 8년 전 | 1562 | ||
| 102 | jQuery Mobile | 8년 전 | 1504 | ||
| 101 | jQuery Mobile | 8년 전 | 1696 | ||
| 100 | jQuery Mobile | 8년 전 | 1922 | ||
| 99 | jQuery Mobile | 8년 전 | 1375 | ||
| 98 | jQuery Mobile | 8년 전 | 1399 | ||
| 97 | jQuery Mobile | 8년 전 | 1658 | ||
| 96 | jQuery Mobile | 8년 전 | 1310 | ||
| 95 | jQuery Mobile | 8년 전 | 1127 | ||
| 94 | jQuery Mobile | 8년 전 | 1528 | ||
| 93 | jQuery Mobile | 8년 전 | 1148 | ||
| 92 | jQuery Mobile | 8년 전 | 1570 | ||
| 91 | jQuery Mobile | 8년 전 | 1516 | ||
| 90 | jQuery Mobile | 8년 전 | 1681 | ||
| 89 | jQuery Mobile | 8년 전 | 1668 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기