반응 형 이미지
반응 형 이미지
이미지는 모든 크기로 제공됩니다. 그렇게 스크린. 반응 형 이미지는 화면 크기에 맞게 자동으로 조정됩니다.
태그에 .img-responsive클래스를 추가하여 반응이 빠른 이미지를 만듭니다 <img>. 그러면 이미지가 부모 요소에 맞게 확장됩니다.
.img-responsive클래스는 적용 display: block;및 max-width: 100%;및 height: auto;이미지에 :
예
<img class="img-responsive" src="img_chania.jpg" alt="Chania">
<!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>Image</h2>
<p>The .img-responsive class makes the image scale nicely to the parent element (resize the browser window to see the effect):</p>
<img class="img-responsive" src="img_chania.jpg" alt="Chania" width="460" height="345">
</div>
</body>
</html>
이미지는 모든 크기로 제공됩니다. 그렇게 스크린. 반응 형 이미지는 화면 크기에 맞게 자동으로 조정됩니다.
태그에 .img-responsive클래스를 추가하여 반응이 빠른 이미지를 만듭니다 <img>. 그러면 이미지가 부모 요소에 맞게 확장됩니다.
.img-responsive클래스는 적용 display: block;및 max-width: 100%;및 height: auto;이미지에 :
예
<img class="img-responsive" src="img_chania.jpg" alt="Chania">
<!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>Image</h2>
<p>The .img-responsive class makes the image scale nicely to the parent element (resize the browser window to see the effect):</p>
<img class="img-responsive" src="img_chania.jpg" alt="Chania" width="460" height="345">
</div>
</body>
</html>
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 178 | AngularJS | 8년 전 | 1434 | ||
| 177 | AngularJS | 8년 전 | 1204 | ||
| 176 | AngularJS | 8년 전 | 1275 | ||
| 175 | AngularJS | 8년 전 | 1370 | ||
| 174 | AngularJS | 8년 전 | 1141 | ||
| 173 | AngularJS | 8년 전 | 1885 | ||
| 172 | AngularJS | 8년 전 | 1440 | ||
| 171 | AngularJS | 8년 전 | 1131 | ||
| 170 | AngularJS | 8년 전 | 1395 | ||
| 169 | AngularJS | 8년 전 | 1191 | ||
| 168 | AngularJS | 8년 전 | 1005 | ||
| 167 | AngularJS | 8년 전 | 1969 | ||
| 166 | AngularJS | 8년 전 | 1042 | ||
| 165 | AngularJS | 8년 전 | 1109 | ||
| 164 | AngularJS | 8년 전 | 1311 | ||
| 163 | AngularJS | 8년 전 | 1156 | ||
| 162 | AngularJS | 8년 전 | 1371 | ||
| 161 | AngularJS | 8년 전 | 1377 | ||
| 160 | AngularJS | 8년 전 | 1129 | ||
| 159 | AngularJS | 8년 전 | 1096 | ||
| 158 | AngularJS | 8년 전 | 1513 | ||
| 157 | AngularJS | 8년 전 | 1481 | ||
| 156 | AngularJS | 8년 전 | 1327 | ||
| 155 | AngularJS | 8년 전 | 1215 | ||
| 154 | AngularJS | 8년 전 | 1621 | ||
| 153 | AngularJS | 8년 전 | 1111 | ||
| 152 | AngularJS | 8년 전 | 1533 | ||
| 151 | AngularJS | 8년 전 | 1425 | ||
| 150 | AngularJS | 8년 전 | 1123 | ||
| 149 | AngularJS | 8년 전 | 1647 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기