활성 / 비활성 버튼
활성 / 비활성 버튼
버튼은 활성 (눌린 것처럼 보임) 또는 비활성 (잠금 해제) 상태로 설정할 수 있습니다.
클래스 .active는 버튼을 누른 것처럼 보이게하고 클래스 .disabled 는 버튼을 클릭 할 수 없도록 만듭니다.
예
<button type="button" class="btn btn-primary active">Active Primary</button>
<button type="button" class="btn btn-primary disabled">Disabled Primary</button>
<!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">
<h2>Button States</h2>
<button type="button" class="btn btn-primary">Primary Button</button>
<button type="button" class="btn btn-primary active">Active Primary</button>
<button type="button" class="btn btn-primary disabled">Disabled Primary</button>
</div>
</body>
</html>
버튼은 활성 (눌린 것처럼 보임) 또는 비활성 (잠금 해제) 상태로 설정할 수 있습니다.
클래스 .active는 버튼을 누른 것처럼 보이게하고 클래스 .disabled 는 버튼을 클릭 할 수 없도록 만듭니다.
예
<button type="button" class="btn btn-primary active">Active Primary</button>
<button type="button" class="btn btn-primary disabled">Disabled Primary</button>
<!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">
<h2>Button States</h2>
<button type="button" class="btn btn-primary">Primary Button</button>
<button type="button" class="btn btn-primary active">Active Primary</button>
<button type="button" class="btn btn-primary disabled">Disabled Primary</button>
</div>
</body>
</html>
첨부파일
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 178 | AngularJS | 8년 전 | 1433 | ||
| 177 | AngularJS | 8년 전 | 1203 | ||
| 176 | AngularJS | 8년 전 | 1275 | ||
| 175 | AngularJS | 8년 전 | 1367 | ||
| 174 | AngularJS | 8년 전 | 1140 | ||
| 173 | AngularJS | 8년 전 | 1882 | ||
| 172 | AngularJS | 8년 전 | 1438 | ||
| 171 | AngularJS | 8년 전 | 1130 | ||
| 170 | AngularJS | 8년 전 | 1395 | ||
| 169 | AngularJS | 8년 전 | 1190 | ||
| 168 | AngularJS | 8년 전 | 1003 | ||
| 167 | AngularJS | 8년 전 | 1967 | ||
| 166 | AngularJS | 8년 전 | 1041 | ||
| 165 | AngularJS | 8년 전 | 1107 | ||
| 164 | AngularJS | 8년 전 | 1311 | ||
| 163 | AngularJS | 8년 전 | 1154 | ||
| 162 | AngularJS | 8년 전 | 1370 | ||
| 161 | AngularJS | 8년 전 | 1371 | ||
| 160 | AngularJS | 8년 전 | 1126 | ||
| 159 | AngularJS | 8년 전 | 1095 | ||
| 158 | AngularJS | 8년 전 | 1508 | ||
| 157 | AngularJS | 8년 전 | 1480 | ||
| 156 | AngularJS | 8년 전 | 1326 | ||
| 155 | AngularJS | 8년 전 | 1214 | ||
| 154 | AngularJS | 8년 전 | 1620 | ||
| 153 | AngularJS | 8년 전 | 1105 | ||
| 152 | AngularJS | 8년 전 | 1531 | ||
| 151 | AngularJS | 8년 전 | 1422 | ||
| 150 | AngularJS | 8년 전 | 1119 | ||
| 149 | AngularJS | 8년 전 | 1645 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기