반응 형 이미지
반응 형 이미지
이미지는 모든 크기로 제공됩니다. 그렇게 스크린. 반응 형 이미지는 화면 크기에 맞게 자동으로 조정됩니다.
태그에 .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>
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 298 | CSS |
선택과집중
|
2개월 전 | 160 | |
| 297 | CSS |
선택과집중
|
3개월 전 | 369 | |
| 296 | CSS |
선택과집중
|
3개월 전 | 319 | |
| 295 | CSS |
선택과집중
|
4개월 전 | 297 | |
| 294 | CSS |
선택과집중
|
4개월 전 | 423 | |
| 293 | CSS |
선택과집중
|
4개월 전 | 380 | |
| 292 | CSS |
선택과집중
|
4개월 전 | 296 | |
| 291 | CSS |
선택과집중
|
5개월 전 | 299 | |
| 290 | CSS |
선택과집중
|
5개월 전 | 348 | |
| 289 | CSS |
선택과집중
|
5개월 전 | 316 | |
| 288 | CSS |
선택과집중
|
5개월 전 | 402 | |
| 287 | CSS |
선택과집중
|
5개월 전 | 349 | |
| 286 | CSS |
선택과집중
|
5개월 전 | 352 | |
| 285 | CSS |
선택과집중
|
5개월 전 | 373 | |
| 284 | CSS |
선택과집중
|
5개월 전 | 260 | |
| 283 | CSS |
|
2년 전 | 1528 | |
| 282 | CSS | 2년 전 | 2509 | ||
| 281 | CSS | 4년 전 | 4040 | ||
| 280 | CSS | 4년 전 | 4558 | ||
| 279 | 반응형웹 | 5년 전 | 2988 | ||
| 278 | 반응형웹 | 5년 전 | 2836 | ||
| 277 | 부트스트랩 | 7년 전 | 5033 | ||
| 276 | 부트스트랩 | 7년 전 | 6591 | ||
| 275 | 부트스트랩 | 7년 전 | 4672 | ||
| 274 | 부트스트랩 | 7년 전 | 6704 | ||
| 273 | 부트스트랩 | 7년 전 | 3370 | ||
| 272 | 부트스트랩 | 7년 전 | 3206 | ||
| 271 | 부트스트랩 | 8년 전 | 3708 | ||
| 270 | 부트스트랩 | 8년 전 | 3237 | ||
| 269 | 부트스트랩 | 8년 전 | 3113 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기