경고 닫기
경고 닫기
× 나를 닫으려면 오른쪽에있는 "x"기호를 클릭하십시오.
경고 메시지를 닫으려면 .alert-dismissable 경고 컨테이너에 클래스를 추가하십시오 . 그런 다음 추가 class="close"와 data-dismiss="alert" 링크 나 (당신이 사라집니다이 경고 상자를 클릭) 버튼 요소.
예
<div class="alert alert-success alert-dismissable">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong>Success!</strong> Indicates a successful or positive action.
</div>
aria- * 속성 및 & times; 설명
화면 판독기를 사용하는 사람들의 접근성을 높이 려면 닫기 버튼을 만들 때 aria-label = "close"속성을 포함시켜야합니다.
&타임스; (x)는 "x"문자가 아닌 닫기 버튼에 선호되는 아이콘 인 HTML 엔터티입니다.
[전체소스]
<!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>Alerts</h2>
<p>The a element with class="close" and data-dismiss="alert" is used to close the alert box.</p>
<p>The alert-dismissible class adds some extra padding to the close button.</p>
<div class="alert alert-success alert-dismissable">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong>Success!</strong> This alert box could indicate a successful or positive action.
</div>
<div class="alert alert-info alert-dismissable">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong>Info!</strong> This alert box could indicate a neutral informative change or action.
</div>
<div class="alert alert-warning alert-dismissable">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong>Warning!</strong> This alert box could indicate a warning that might need attention.
</div>
<div class="alert alert-danger alert-dismissable">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong>Danger!</strong> This alert box could indicate a dangerous or potentially negative action.
</div>
</div>
</body>
</html>
× 나를 닫으려면 오른쪽에있는 "x"기호를 클릭하십시오.
경고 메시지를 닫으려면 .alert-dismissable 경고 컨테이너에 클래스를 추가하십시오 . 그런 다음 추가 class="close"와 data-dismiss="alert" 링크 나 (당신이 사라집니다이 경고 상자를 클릭) 버튼 요소.
예
<div class="alert alert-success alert-dismissable">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong>Success!</strong> Indicates a successful or positive action.
</div>
aria- * 속성 및 & times; 설명
화면 판독기를 사용하는 사람들의 접근성을 높이 려면 닫기 버튼을 만들 때 aria-label = "close"속성을 포함시켜야합니다.
&타임스; (x)는 "x"문자가 아닌 닫기 버튼에 선호되는 아이콘 인 HTML 엔터티입니다.
[전체소스]
<!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>Alerts</h2>
<p>The a element with class="close" and data-dismiss="alert" is used to close the alert box.</p>
<p>The alert-dismissible class adds some extra padding to the close button.</p>
<div class="alert alert-success alert-dismissable">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong>Success!</strong> This alert box could indicate a successful or positive action.
</div>
<div class="alert alert-info alert-dismissable">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong>Info!</strong> This alert box could indicate a neutral informative change or action.
</div>
<div class="alert alert-warning alert-dismissable">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong>Warning!</strong> This alert box could indicate a warning that might need attention.
</div>
<div class="alert alert-danger alert-dismissable">
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
<strong>Danger!</strong> This alert box could indicate a dangerous or potentially negative action.
</div>
</div>
</body>
</html>
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 178 | AngularJS | 8년 전 | 1436 | ||
| 177 | AngularJS | 8년 전 | 1210 | ||
| 176 | AngularJS | 8년 전 | 1281 | ||
| 175 | AngularJS | 8년 전 | 1373 | ||
| 174 | AngularJS | 8년 전 | 1146 | ||
| 173 | AngularJS | 8년 전 | 1889 | ||
| 172 | AngularJS | 8년 전 | 1441 | ||
| 171 | AngularJS | 8년 전 | 1132 | ||
| 170 | AngularJS | 8년 전 | 1398 | ||
| 169 | AngularJS | 8년 전 | 1193 | ||
| 168 | AngularJS | 8년 전 | 1009 | ||
| 167 | AngularJS | 8년 전 | 1973 | ||
| 166 | AngularJS | 8년 전 | 1045 | ||
| 165 | AngularJS | 8년 전 | 1113 | ||
| 164 | AngularJS | 8년 전 | 1321 | ||
| 163 | AngularJS | 8년 전 | 1162 | ||
| 162 | AngularJS | 8년 전 | 1376 | ||
| 161 | AngularJS | 8년 전 | 1381 | ||
| 160 | AngularJS | 8년 전 | 1137 | ||
| 159 | AngularJS | 8년 전 | 1098 | ||
| 158 | AngularJS | 8년 전 | 1519 | ||
| 157 | AngularJS | 8년 전 | 1486 | ||
| 156 | AngularJS | 8년 전 | 1337 | ||
| 155 | AngularJS | 8년 전 | 1221 | ||
| 154 | AngularJS | 8년 전 | 1630 | ||
| 153 | AngularJS | 8년 전 | 1114 | ||
| 152 | AngularJS | 8년 전 | 1533 | ||
| 151 | AngularJS | 8년 전 | 1433 | ||
| 150 | AngularJS | 8년 전 | 1129 | ||
| 149 | AngularJS | 8년 전 | 1652 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기