2 개의 서로 다른 열
2 개의 서로 다른 열
다음 예는 태블릿에서 시작하여 대형 데스크톱으로 확장하는 두 개의 다양한 너비 열을 얻는 방법을 보여줍니다.
예
<div class="row">
<div class="col-sm-4">.col-sm-4</div>
<div class="col-sm-8">.col-sm-8</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-8" style="background-color:lavenderblush;">.col-sm-8</div>
</div>
</div>
</body>
</html>
다음 예는 태블릿에서 시작하여 대형 데스크톱으로 확장하는 두 개의 다양한 너비 열을 얻는 방법을 보여줍니다.
예
<div class="row">
<div class="col-sm-4">.col-sm-4</div>
<div class="col-sm-8">.col-sm-8</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-8" style="background-color:lavenderblush;">.col-sm-8</div>
</div>
</div>
</body>
</html>
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 88 | jQuery Mobile | 8년 전 | 1940 | ||
| 87 | jQuery Mobile | 8년 전 | 1921 | ||
| 86 | jQuery Mobile | 8년 전 | 1534 | ||
| 85 | jQuery Mobile | 8년 전 | 1843 | ||
| 84 | jQuery Mobile | 8년 전 | 1879 | ||
| 83 | jQuery Mobile | 8년 전 | 1892 | ||
| 82 | jQuery Mobile | 8년 전 | 1661 | ||
| 81 | jQuery Mobile | 8년 전 | 1375 | ||
| 80 | jQuery Mobile | 8년 전 | 1813 | ||
| 79 | jQuery Mobile | 8년 전 | 1361 | ||
| 78 | jQuery Mobile | 8년 전 | 1759 | ||
| 77 | jQuery Mobile | 8년 전 | 1785 | ||
| 76 | jQuery Mobile | 8년 전 | 1793 | ||
| 75 | jQuery Mobile | 8년 전 | 1408 | ||
| 74 | jQuery Mobile | 8년 전 | 1548 | ||
| 73 | jQuery Mobile | 8년 전 | 1252 | ||
| 72 | jQuery Mobile | 8년 전 | 1631 | ||
| 71 | jQuery Mobile | 8년 전 | 1625 | ||
| 70 | jQuery Mobile | 8년 전 | 1510 | ||
| 69 | jQuery Mobile | 8년 전 | 1515 | ||
| 68 | jQuery Mobile | 8년 전 | 2052 | ||
| 67 | jQuery Mobile | 8년 전 | 1321 | ||
| 66 | jQuery Mobile | 8년 전 | 1697 | ||
| 65 | jQuery Mobile | 8년 전 | 1191 | ||
| 64 | jQuery Mobile | 8년 전 | 1473 | ||
| 63 | jQuery Mobile | 8년 전 | 1665 | ||
| 62 | jQuery Mobile | 8년 전 | 1648 | ||
| 61 | jQuery Mobile | 8년 전 | 1883 | ||
| 60 | jQuery Mobile | 8년 전 | 1413 | ||
| 59 | jQuery Mobile | 8년 전 | 1971 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기