편집
46,574
번
편집 요약 없음 |
편집 요약 없음 |
||
2번째 줄: | 2번째 줄: | ||
/* 본문 div 박스 안에 이미지 사이즈 조절 */ | /* 본문 div 박스 안에 이미지 사이즈 조절 */ | ||
.img_box { width: 400px; text-align: center; margin-top: | .img_box { width: 400px; text-align: center; margin-top: 20px; margin-bottom: 20px; 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%; } */ | /* img { object-fit: cover; width: 100%; } */ |