문서의 선택한 두 판 사이의 차이를 보여줍니다.
다음 판 | 이전 판 | ||
wiki:bootstrap:bootstrap_note:bs_images [2021/03/24 20:06] emblim98 만듦 |
wiki:bootstrap:bootstrap_note:bs_images [2023/01/13 18:44] (현재) |
||
---|---|---|---|
줄 48: | 줄 48: | ||
\\ | \\ | ||
=====Responsive Images===== | =====Responsive Images===== | ||
+ | 이미지의 크기는 다양합니다. 화면도 마찬가지입니다. 반응형 이미지는 자동으로 화면크기에 맞게 조정됩니다.\\ | ||
+ | \\ | ||
+ | '' | ||
+ | \\ | ||
+ | '' | ||
+ | ====예제==== | ||
+ | < | ||
+ | < | ||
+ | <div class=" | ||
+ | < | ||
+ | < | ||
+ | (resize the browser window to see the effect):</ | ||
+ | <img class=" | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | \\ | ||
+ | =====Image Gallery===== | ||
+ | '' | ||
====예제==== | ====예제==== | ||
< | < | ||
+ | < | ||
+ | |||
+ | <div class=" | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | <a href=" | ||
+ | <img src=" | ||
+ | <div class=" | ||
+ | < | ||
+ | </ | ||
+ | </a> | ||
+ | </ | ||
+ | </ | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | <a href=" | ||
+ | <img src=" | ||
+ | <div class=" | ||
+ | < | ||
+ | </ | ||
+ | </a> | ||
+ | </ | ||
+ | </ | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | <a href=" | ||
+ | <img src=" | ||
+ | <div class=" | ||
+ | < | ||
+ | </ | ||
+ | </a> | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | \\ | ||
+ | =====Responsive Embeds===== | ||
+ | 또한 비디오 또는 슬라이드 쇼를 모든 장치에서 적절하게 화면 크기를 조정할 수 있습니다.\\ | ||
+ | \\ | ||
+ | 클래스는 %%< | ||
+ | \\ | ||
+ | 다음 예제는 '' | ||
+ | (비디오는 상위 요소에 맞게 조정됩니다). 포함하는 '' | ||
+ | ====예제==== | ||
+ | < | ||
+ | < | ||
+ | |||
+ | <div class=" | ||
+ | < | ||
+ | <p> | ||
+ | Create a responsive video and scale it nicely to the parent element with an 16:9 aspect ratio | ||
+ | </p> | ||
+ | <div class=" | ||
+ | <iframe class=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | \\ | ||
+ | ===종횡비 (aspect ratio, 가로 세로 비율)=== | ||
+ | 이미지의 종횡비는 이미지의 너비와 높이 사이의 비례 관계를 나타냅니다.\\ | ||
+ | 두 가지 일반적인 비디오 종횡비는 4 : 3 (20 세기의 범용 비디오 형식)과 16 : 9 (HD TV 및 유럽 디지털 TV의 범용)입니다.\\ | ||
+ | \\ | ||
+ | 두 가지 종횡비 클래스 중에서 선택할 수 있습니다.\\ | ||
+ | ====예제==== | ||
+ | < | ||
+ | < | ||
+ | |||
+ | <div class=" | ||
+ | < | ||
+ | < | ||
+ | |||
+ | < | ||
+ | <div class=" | ||
+ | <iframe class=" | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | <div class=" | ||
+ | <iframe class=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | |||
{{tag> | {{tag> |