활성 / 비활성 버튼
활성 / 비활성 버튼
버튼은 활성 (눌린 것처럼 보임) 또는 비활성 (잠금 해제) 상태로 설정할 수 있습니다.
클래스 .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>
첨부파일
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 208 | 부트스트랩 | 8년 전 | 2735 | ||
| 207 | AngularJS | 8년 전 | 1475 | ||
| 206 | AngularJS | 8년 전 | 1124 | ||
| 205 | AngularJS | 8년 전 | 994 | ||
| 204 | AngularJS | 8년 전 | 1397 | ||
| 203 | AngularJS | 8년 전 | 1192 | ||
| 202 | AngularJS | 8년 전 | 1505 | ||
| 201 | AngularJS | 8년 전 | 1456 | ||
| 200 | AngularJS | 8년 전 | 1433 | ||
| 199 | AngularJS | 8년 전 | 1354 | ||
| 198 | AngularJS | 8년 전 | 1237 | ||
| 197 | AngularJS | 8년 전 | 1398 | ||
| 196 | AngularJS | 8년 전 | 1056 | ||
| 195 | AngularJS | 8년 전 | 1263 | ||
| 194 | AngularJS | 8년 전 | 1274 | ||
| 193 | AngularJS | 8년 전 | 1620 | ||
| 192 | AngularJS | 8년 전 | 1366 | ||
| 191 | AngularJS | 8년 전 | 1592 | ||
| 190 | AngularJS | 8년 전 | 1561 | ||
| 189 | AngularJS | 8년 전 | 1652 | ||
| 188 | AngularJS | 8년 전 | 1412 | ||
| 187 | AngularJS | 8년 전 | 1372 | ||
| 186 | AngularJS | 8년 전 | 1418 | ||
| 185 | AngularJS | 8년 전 | 1450 | ||
| 184 | AngularJS | 8년 전 | 1490 | ||
| 183 | AngularJS | 8년 전 | 1488 | ||
| 182 | AngularJS | 8년 전 | 1012 | ||
| 181 | AngularJS | 8년 전 | 1394 | ||
| 180 | AngularJS | 8년 전 | 1283 | ||
| 179 | AngularJS | 8년 전 | 1264 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기