편집
46,573
번
편집 요약 없음 |
편집 요약 없음 |
||
3번째 줄: | 3번째 줄: | ||
/* 본문 div 박스 안에 이미지 사이즈 조절 */ | /* 본문 div 박스 안에 이미지 사이즈 조절 */ | ||
.img_box { width: 400px; text-align: center; margin-left: auto; margin-right: auto; font-size: 90%; } | .img_box { width: 400px; text-align: center; margin-left: auto; margin-right: auto; font-size: 90%; } | ||
.img_box > img { object-fit: cover; width: 100%; } | /* .img_box > img { object-fit: cover; width: 100%; } */ | ||
img { object-fit: cover; width: 100%; } | |||
/* 화면 폭에 따른 자동 변경 */ | /* 화면 폭에 따른 자동 변경 */ |