문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 다음 판 | 이전 판 | ||
|
wiki:bootstrap:bootstrap_note:bs_dropdowns [2021/03/26 12:10] emblim98 만듦 |
wiki:bootstrap:bootstrap_note:bs_dropdowns [2023/01/13 18:44] (현재) |
||
|---|---|---|---|
| 줄 12: | 줄 12: | ||
| ====예제==== | ====예제==== | ||
| < | < | ||
| + | <!-- .container> | ||
| + | <div class=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | <p> | ||
| + | To open the dropdwon menu, use a button or a link whti a class of .dropdown-toggle and data-toggle=" | ||
| + | </p> | ||
| + | <div class=" | ||
| + | <button class=" | ||
| + | <ul class=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ul> | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | </ | ||
| </ | </ | ||
| + | ===Result=== | ||
| + | {{: | ||
| + | ====예제 설명==== | ||
| + | '' | ||
| + | \\ | ||
| + | 드롭 다운 메뉴를 열려면 '' | ||
| + | \\ | ||
| + | '' | ||
| + | \\ | ||
| + | 드롭다운 메뉴를 실제로 빌드하려면 '' | ||
| + | \\ | ||
| + | =====Dropdown Divider===== | ||
| + | '' | ||
| + | ====예제==== | ||
| + | < | ||
| + | < | ||
| + | <!-- .container> | ||
| + | <div class=" | ||
| + | < | ||
| + | < | ||
| + | <div class=" | ||
| + | <button class=" | ||
| + | <ul class=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | <li class=" | ||
| + | < | ||
| + | </ul> | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | ===Result=== | ||
| + | {{: | ||
| + | \\ | ||
| + | =====Dropdown Header===== | ||
| + | 드롭다운 메뉴 내부에 헤더를 추가하기 위해 '' | ||
| + | ====예제==== | ||
| + | < | ||
| + | < | ||
| + | <div class=" | ||
| + | < | ||
| + | < | ||
| + | <div class=" | ||
| + | <button class=" | ||
| + | <ul class=" | ||
| + | <li class=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | <li class=" | ||
| + | <li class=" | ||
| + | < | ||
| + | </ul> | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | ===Result=== | ||
| + | {{: | ||
| + | \\ | ||
| + | =====Disable and Active items===== | ||
| + | '' | ||
| + | \\ | ||
| + | 드롭다운 메뉴에서 항목을 비활성화 하려면 '' | ||
| + | ====예제==== | ||
| + | < | ||
| + | < | ||
| + | <div class=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | <div class=" | ||
| + | <button class=" | ||
| + | <ul class=" | ||
| + | < | ||
| + | <li class=" | ||
| + | <li class=" | ||
| + | < | ||
| + | </ul> | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | ===Result=== | ||
| + | {{: | ||
| + | \\ | ||
| + | =====Dropdown Position===== | ||
| + | 드롭다운을 오른쪽 정렬하려면 '' | ||
| + | ====예제==== | ||
| + | < | ||
| + | < | ||
| + | |||
| + | <div class=" | ||
| + | < | ||
| + | < | ||
| + | <div class=" | ||
| + | <button class=" | ||
| + | <ul class=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | <li class=" | ||
| + | < | ||
| + | </ul> | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | ===Result=== | ||
| + | {{: | ||
| + | \\ | ||
| + | =====Dropup===== | ||
| + | 드롭다운 메뉴를 아래쪽이 아닌 위쪽으로 확장하려면, | ||
| + | ====예제==== | ||
| + | < | ||
| + | < | ||
| + | |||
| + | <div class=" | ||
| + | < | ||
| + | < | ||
| + | <div class=" | ||
| + | <button class=" | ||
| + | <ul class=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | <li class=" | ||
| + | < | ||
| + | </ul> | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | =====Dropdown Accessibility===== | ||
| + | 스크린 리더를 사용하는 사람들의 접근성을 높이려면, | ||
| + | 드롭다운 메뉴를 만들 때 '' | ||
| + | ====예제==== | ||
| + | < | ||
| + | < | ||
| + | |||
| + | <div class=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | <div class=" | ||
| + | <button class=" | ||
| + | <ul class=" | ||
| + | <li role=" | ||
| + | <li role=" | ||
| + | <li role=" | ||
| + | <li role=" | ||
| + | <li role=" | ||
| + | </ul> | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | ===Result=== | ||
| + | {{: | ||