드롭 다운 헤더
드롭 다운 헤더
이 .dropdown-header클래스는 드롭 다운 메뉴에 헤더를 추가하는 데 사용됩니다.
예제
<!DOCTYPE html>
<html>
<head>
<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">
<h2>Dropdowns</h2>
<p>The .dropdown-header class is used to add headers inside the dropdown menu:</p>
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown">Tutorials
<span class="caret"></span></button>
<ul class="dropdown-menu">
<li class="dropdown-header">Dropdown header 1</li>
<li><a href="#">HTML</a></li>
<li><a href="#">CSS</a></li>
<li><a href="#">JavaScript</a></li>
<li class="divider"></li>
<li class="dropdown-header">Dropdown header 2</li>
<li><a href="#">About Us</a></li>
</ul>
</div>
</div>
</body>
</html>
이 .dropdown-header클래스는 드롭 다운 메뉴에 헤더를 추가하는 데 사용됩니다.
예제
<!DOCTYPE html>
<html>
<head>
<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">
<h2>Dropdowns</h2>
<p>The .dropdown-header class is used to add headers inside the dropdown menu:</p>
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" data-toggle="dropdown">Tutorials
<span class="caret"></span></button>
<ul class="dropdown-menu">
<li class="dropdown-header">Dropdown header 1</li>
<li><a href="#">HTML</a></li>
<li><a href="#">CSS</a></li>
<li><a href="#">JavaScript</a></li>
<li class="divider"></li>
<li class="dropdown-header">Dropdown header 2</li>
<li><a href="#">About Us</a></li>
</ul>
</div>
</div>
</body>
</html>
첨부파일
댓글 7개
Bottom
7년 전
잘 보고 갑니다. 감사합니다.
7년 전
감사합니다..
7년 전
배우고 가요... 감사
darlylovelydarly
6년 전
감사합니다
choice2
6년 전
감사!!
6년 전
감사히 질 봤습니다.^^
5년 전
감사합니다~
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 148 | AngularJS | 8년 전 | 1659 | ||
| 147 | AngularJS | 8년 전 | 1075 | ||
| 146 | AngularJS | 8년 전 | 1265 | ||
| 145 | AngularJS | 8년 전 | 1370 | ||
| 144 | AngularJS | 8년 전 | 1157 | ||
| 143 | AngularJS | 8년 전 | 1202 | ||
| 142 | AngularJS | 8년 전 | 1174 | ||
| 141 | AngularJS | 8년 전 | 1335 | ||
| 140 | AngularJS | 8년 전 | 1200 | ||
| 139 | AngularJS | 8년 전 | 1446 | ||
| 138 | AngularJS | 8년 전 | 1152 | ||
| 137 | AngularJS | 8년 전 | 1064 | ||
| 136 | AngularJS | 8년 전 | 1156 | ||
| 135 | AngularJS | 8년 전 | 1681 | ||
| 134 | AngularJS | 8년 전 | 1383 | ||
| 133 | AngularJS | 8년 전 | 1477 | ||
| 132 | AngularJS | 8년 전 | 1099 | ||
| 131 | AngularJS | 8년 전 | 1372 | ||
| 130 | AngularJS | 8년 전 | 1465 | ||
| 129 | AngularJS | 8년 전 | 1445 | ||
| 128 | AngularJS | 8년 전 | 2064 | ||
| 127 | AngularJS | 8년 전 | 1488 | ||
| 126 | jQuery Mobile | 8년 전 | 2259 | ||
| 125 | jQuery Mobile | 8년 전 | 2015 | ||
| 124 | jQuery Mobile | 8년 전 | 1882 | ||
| 123 | jQuery Mobile | 8년 전 | 1815 | ||
| 122 | jQuery Mobile | 8년 전 | 1858 | ||
| 121 | jQuery Mobile | 8년 전 | 2059 | ||
| 120 | jQuery Mobile | 8년 전 | 1594 | ||
| 119 | jQuery Mobile | 8년 전 | 1679 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기