편집
48,208
번
편집 요약 없음 |
편집 요약 없음 |
||
18번째 줄: | 18번째 줄: | ||
/* 본문 div 박스 안에 이미지 사이즈 조절 */ | /* 본문 div 박스 안에 이미지 사이즈 조절 */ | ||
.img_box { width: 400px; text-align: center; margin: | .img_box { width: 400px; text-align: center; margin: 15px auto 20px; } | ||
.img_box > img { object-fit: cover; width: 100%; } | .img_box > img { object-fit: cover; width: 100%; } | ||
/* img { object-fit: cover; width: 100%; } */ | /* img { object-fit: cover; width: 100%; } */ | ||
/* 본문 안 iframe 사이즈 맞춤 */ | /* 본문 안 iframe 사이즈 맞춤 */ | ||
.mov_box { width: 400px; text-align: center; margin: | .mov_box { width: 400px; text-align: center; margin: 15px auto 20px; } | ||
.mov_box > iframe { display:block; width:100%; height: auto; } | .mov_box > iframe { display:block; width:100%; height: auto; } | ||