반응 형 이미지
반응 형 이미지
이미지는 모든 크기로 제공됩니다. 그렇게 스크린. 반응 형 이미지는 화면 크기에 맞게 자동으로 조정됩니다.
태그에 .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>
게시판 목록
퍼블리싱강좌
| 번호 | 분류 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|---|
| 118 | jQuery Mobile | 8년 전 | 1347 | ||
| 117 | jQuery Mobile | 8년 전 | 1597 | ||
| 116 | jQuery Mobile | 8년 전 | 1825 | ||
| 115 | jQuery Mobile | 8년 전 | 1782 | ||
| 114 | jQuery Mobile | 8년 전 | 1970 | ||
| 113 | jQuery Mobile | 8년 전 | 1881 | ||
| 112 | jQuery Mobile | 8년 전 | 2487 | ||
| 111 | jQuery Mobile | 8년 전 | 1794 | ||
| 110 | jQuery Mobile | 8년 전 | 1586 | ||
| 109 | jQuery Mobile | 8년 전 | 1749 | ||
| 108 | jQuery Mobile | 8년 전 | 1972 | ||
| 107 | jQuery Mobile | 8년 전 | 1772 | ||
| 106 | jQuery Mobile | 8년 전 | 1450 | ||
| 105 | jQuery Mobile | 8년 전 | 1750 | ||
| 104 | jQuery Mobile | 8년 전 | 2427 | ||
| 103 | jQuery Mobile | 8년 전 | 1564 | ||
| 102 | jQuery Mobile | 8년 전 | 1507 | ||
| 101 | jQuery Mobile | 8년 전 | 1697 | ||
| 100 | jQuery Mobile | 8년 전 | 1922 | ||
| 99 | jQuery Mobile | 8년 전 | 1379 | ||
| 98 | jQuery Mobile | 8년 전 | 1403 | ||
| 97 | jQuery Mobile | 8년 전 | 1660 | ||
| 96 | jQuery Mobile | 8년 전 | 1313 | ||
| 95 | jQuery Mobile | 8년 전 | 1128 | ||
| 94 | jQuery Mobile | 8년 전 | 1529 | ||
| 93 | jQuery Mobile | 8년 전 | 1149 | ||
| 92 | jQuery Mobile | 8년 전 | 1571 | ||
| 91 | jQuery Mobile | 8년 전 | 1522 | ||
| 90 | jQuery Mobile | 8년 전 | 1683 | ||
| 89 | jQuery Mobile | 8년 전 | 1668 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기