Change image size in CSS if div tag is smaller than the image
Posted by Albert 4017Day 12Hour 58Min 4Sec ago [2014-04-22]
내용을 넣을때 이미지 싸이즈가 많이 클때 컨텐츠 박스가 깨지는 현상을 방지하는 css 스크립트
'parent{ width:50px; } 'parent img{ max-width:100%; height:auto; } |
Posted by Albert 4017Day 12Hour 58Min 4Sec ago [2014-04-22]
내용을 넣을때 이미지 싸이즈가 많이 클때 컨텐츠 박스가 깨지는 현상을 방지하는 css 스크립트
'parent{ width:50px; } 'parent img{ max-width:100%; height:auto; } |